Bosnia and Herzegovina

Install Webmin to CentOS 6.x

In this short tutorial I’m going to write a few lines required for correct installation of Webmin to CentOS 6.x. For more information about Webmin please visit : http://www.webmin.com/With your editor (vi, nano or similar) open yum repository file :

vi /etc/yum.repos.d/webmin.repo

and paste following code :

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

Go back to console and start installation with :

yum install webmin

After few seconds you can log in though link : http://YOUR_IP_ADDRESS:10000 By default your firewall will block port 10000 on your server, so you need to change it. With your editor open settings for iptables

vi /etc/sysconfig/iptables

and add this following command in OUTPUT ACCESS section :

-A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT

After that you just need to restart the iptables firewall with command :

service iptables restart

Enjoy!