Wednesday, June 12, 2013

How to install Webmin on CentOS 6.2

Webmin is a web-based interface for system administration for Linux/Unix. You can setup user accounts, Apache, DNS,DHCP, file sharing and much more by using any modern web browser.

Before installing the Webmin,disabled the SELinux:



Make SELINUX=disabled:



Restart the Server!!

First, we need to install the dependencies with this command:
sudo yum install perl



Also, install the wget:
sudo yum install wget



Now, we need to download the Webmin rpm package from Sourceforge (I download it in my home directory):
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580-1.noarch.rpm



Then just run the following command:
sudo rpm -U webmin-1.580-1.noarch.rpm



Webmin is installed now and you will be able to access it via a browser using, http://server-ip:10000. In my case it is,http://CentOS:10000.

Configure the iptables rule in order to allow access to the Webmin:
sudo iptables -I INPUT 4 -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT
sudo service iptables save



Now access Webmin via a browser using, http://server-ip:10000(In my case it is,http://CentOS:10000):



After login, Webmin main page will show you the summary of your server:



Hope this will help you!

No comments:

Post a Comment