How to Install Webmin 1.580 on RHEL 6/CentOS 6 Using tar.gz File

Webmin is a freeware program that provide web-based interface for system administration and system configuration tool for administrators. With Webmin you can setup user accounts, DNS, file sharing and etc. In this post, i will show how to install Webmin on Redhat Enterprise Linux 6 (RHEL 6) server using tar.gz File. This steps may also working on other versions such as CentOS 5.1, CentOS 5.2, CentOS 5.3, CentOS 5.4, CentOS 5.5, CentOS 5.6, CentOS 5.7, CentOS 6.x, RHEL 5.x and RHEL 6.x.

[root@centos62 tmp]# wget
[root@centos62 ~]# cd /tmp
[root@centos62 tmp]# wget
--2012-03-25 22:33:04--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: [following]
--2012-03-25 22:33:05--
Reusing existing connection to
HTTP request sent, awaiting response... 302 Found
Location: [following]
--2012-03-25 22:33:06--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16081299 (15M) [application/x-gzip]
Saving to: âwebmin-1.580.tar.gzâ

100%[==========================================================>] 16,081,299  68.2K/s   in 4m 14s

2012-03-25 22:37:21 (61.8 KB/s) - âwebmin-1.580.tar.gzâ

When unpacked, the distribution creates a subdirectory called webmin-1.580 :

[root@centos62 tmp]# tar -xzvf webmin-1.580.tar.gz
[root@centos62 tmp]# cd webmin-1.580
[root@centos62 webmin-1.580]# pwd

When the script is run, it will ask the following questions :

  • The Webmin configuration directory
  • The Webmin log directory
  • The full path to perl on your system
  • Your Operating system type
  • Web server port
  • Web server login and password
  • Web server hostname
  • Use SSL
  • Start Webmin at boot time
[root@centos62 webmin-1.580]# ./
*            Welcome to the Webmin setup script, version 1.580        *
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /tmp/webmin-1.580 ...

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:    CentOS Linux
Operating system version: 6.2

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):
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..

Creating access control file..

Inserting path to perl into scripts..

Creating start and stop scripts..

Copying config files..

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

Creating uninstall script /etc/webmin/ ..

Changing ownership and permissions ..

Running postinstall scripts ..
PID file /var/webmin/ does not exist

Enabling background status collection ..
PID file /var/webmin/ does not exist

Attempting to start Webmin mini web server..
Starting Webmin server in /tmp/webmin-1.580
Pre-loaded WebminCore

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


and login with the name and password you entered previously.

Stop Iptables :

[root@centos62 webmin-1.580]# service iptables stop
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Unloading modules:                               [  OK  ]

To access Webmin administration console through web interface, navigate the server URL to your web browser :


Leave a Reply

Your email address will not be published. Required fields are marked *