How to install webmin on centos 6

Webmin is a web-based graphical tool for unix . It is used to manage services like User management, Disk managemet, Network, Iptables ( Firewall ), Cron, Apache, DNS, File sharing and much more .
In this article, we can see about how to install webmin on centos 6 .

» Create a new file webmin.repo in /etc/yum/repos.d/ and add the below code.

[Webmin]
 name=Webmin Distribution Neutral
 baseurl=http://download.webmin.com/download/yum
 mirrorlist=http://download.webmin.com/download/yum/mirrorlist
 enabled=1
 [Webmin]
 name=Webmin Distribution Neutral
 baseurl=http://download.webmin.com/download/yum
 mirrorlist=http://download.webmin.com/download/yum/mirrorlist
 enabled=1


» Install webmin GPG key using below command.

  rpm --import http://www.webmin.com/jcameron-key.asc 

» Update the repositories.

  yum check-update 

» Now install webmin package using yum .

  yum install webmin 

» Start the service and make it start automatically.

  chkconfig webmin on 
 service webmin start 

» By default, Webmin will listen on port 10000, Allow this port in iptables if it is enabled.

  iptables -I INPUT -p tcp --dport 10000 -j ACCEPT 
 service iptables save 

» Now open http://serverip:10000 in your browser, you could see the below screen after login ( Use root username and password ).

By anup

Leave a Reply

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