Home » » Webmin Installation on Linux step by step

Webmin Installation on Linux step by step

Written By 1 on Monday, October 10, 2011 | 10:59 PM

Webmin is a web-based interface that allows Unix-like operating systems and common Unix services to be easily administered.
Pre-requisite:
Apache webserver needs to be installed. The instructions on how to install apache on linux can be found here.
Perl needs to be installed. You can download the current version of PERL from here
Installation:
In this section of the tutorial, we are going to learn on how to install the webmin on Linux operating system. You can download the Webmin package from here.
Once the file is copied to the folder. You need to remote copy the file to the Linux server. There are many tools available to ftp the file.
Once the file is staged to the location. Extract the file using the following command.
tar -xvzf webmin-1.550.tar.gz
Once the extractions is completed successfully, Change the directory and execute the setup.sh script to install the webmin.
Script will ask for the user input, look at the script output below and add the userinput as follows.
***********************************************************************
* Welcome to the Webmin setup script, version 1.550 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.


Installing Webmin in /var/www/html ...

***********************************************************************
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: Oracle Enterprise Linux
Operating system version:

***********************************************************************
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): 7000


Login name (default admin): admin


Login password:


Password again:

The Perl SSLeay library is not installed. SSL not available.

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

Enabling background status collection ..
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /var/www/html
Pre-loaded WebminCore
..done

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

http://localhost:7000

and login with the name and password you entered previously.
Note: Make sure to point the webmin home to the apache document root.

0 Comment:

Post a Comment