Logo Page Web Française
Accueil Association BSD Linux Dev Reseau Infologisme Mac OSX
tl tr
Subject Setup Date 2010-08-30
Title Webmin - System and server administration Section BSD Linux
Article

Webmin is one « Web Application » very succeeded, what allows to administer one or several Servers in local or remote. For the neophyte Web application, is a software written with a scripting language which do not compile an achievable file. It has many advantages and also some inconveniences. But mostly, it is only our vision or interpretation of the things that penalizes us. The magic clique where the window smiles upon us, in English « Windows », what is a world of very relative ease. Webmin knows how to configure the biggest server software Unix of the market, which I you the reminder, are for the greater part free.

In our precise case under FreeBSD, Linux and Unix we need it for Apache, Bind, MySQL, ProFTPD, Samba, Squid, Webalizer, etc.

Necessary softwares and servers:

Operating system: Fedora 12 FC12 or FreeBSD-7.3 or FreeBSD-8.1 or another Unix.

Components or Perl language Packages:

Linux - Perl Modules CPAN

FreeBSD 7.3-RELEASE ou FreeBSD 8.1-RELEASE

portupgrade -N gzip press Enter

Perl Modules CPAN

portupgrade -N p5-Authen-Libwrap press Enter
portupgrade -N p5-IO-Tty press Enter
portupgrade -N p5-Libwww press Enter
portupgrade -N p5-Net-SSLeay press Enter
portupgrade -N p5-perl-ldap press Enter
portupgrade -N p5-String-Multibyte press Enter


Use the command fetch with FreeBSD for to download Webmin with the following syntax:

cd /usr/local

fetch http://prdownloads.sourceforge.net/webadmin/webmin-1.520.tar.gz


See article : FreeBSD - Install and Configure version 7.3-RELEASE    FreeBSD - Install and Configure version 8.1-RELEASE


Open a session « root » User

Download on the site www.webmin.com the package webmin-1.520.tar.gz


For the Unix users informed

The most common location for installation from tarballs .gz is /usr/local

If you're using GNU Tar, you can do this all on one command line:
# tar zxvf webmin-1.520.tar.gz

If you have a less capable version of Tar, you must unzip the file first and then untar it:
# gunzip webmin-1.520.tar.gz
# tar -xvf webmin-1.520.tar
Then
# cd webmin-1.520
# ./setup.sh

See the language localization Webmin - Configure and launch or start


For the Unix System beginners

Copy the file webmin-1.520.tar.gz in repertory /usr/local/

Open a Terminal.

Seize cd /usr/local/ press Enter

Seize gunzip Web then press Tab key, you have just discovered completion.

You will have this gunzip webmin-1.520.tar.gz press Enter

Seize tar -xvf Web then press Tab key

You will have this tar -xvf webmin-1.520.tar press Enter

Seize Cd Web then press Tab key

You will have this Cd webmin-1.520 press Enter

Seize ./setup.sh press Enter

We have to answer several questions:

Config file directory [/etc/webmin]: press Enter

Log file directory [/var/webmin]: press Enter

Full path to perl (default /usr/bin/perl): press Enter

Web server port (default 10000): press Enter

The user name by defect is admin take root and type its password.

Login name (default admin): Seize user name and press Enter

Remark : During the seizure of the password we do not see the seizure, this is normal OK!

Login password: Seize the password and press Enter
Password again: Seize the password and press Enter

Remark : For enter y the Package perl-Net-SSLeay must be installed for use Webmin with SSL encryption.

Use SSL (y/n): Seize n press Enter

Seize y for launch automatically Webmin to the starting up of the Server.

Start Webmin at boot time (y/n): Seize y press Enter


What you must to obtain in the window of the Terminal!


[root@localhost ~]# cd /usr/local/
[root@product local]# gunzip webmin-1.520.tar.gz
[root@product local]# tar -xvf webmin-1.520.tar
[root@product local]# cd webmin-1.520
[root@product webmin-1.520]# ./setup.sh

***********************************************************************
*            Welcome to the Webmin setup script, version 1.500        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /usr/local/webmin-1.520 ...

***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl):

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    Redhat Linux
Operating system version: Fedora 10

***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
- What port to run the web server on. There must not be another
  web server already using this port.
- The login name required to access the web server.
- The password required to access the web server.
- If the webserver should use SSL (if your system supports it).
- Whether to start webmin at boot time.

Web server port (default 10000):
Login name (default admin): root
Login password:
Password again:
Use SSL (y/n): n
Start Webmin at boot time (y/n): y
***********************************************************************
Creating web server config files..
..done

Creating access control file..
..done

Inserting path to perl into scripts..
..done

Creating start and stop scripts..
..done

Copying config files..
..done

Configuring Webmin to start at boot time..
Created init script /etc/rc.d/init.d/webmin
..done

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/webmin-1.520
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

    http://product.domain.com:10000/

and login with the name and password you entered previously.

[root@product webmin-1.520]#



See article on the location of language: Webmin - Configure and launch or start

Author
Eric Douzet
Début de page
bl br
C-extra.com v. 1.2.0 © 2003-2010, all rights reserved  -  Updated September 02, 2010 Infologism.com