Install Webmin on CentOS 5

January 22nd, 2009

Install dependency :

sudo yum -y install perl-Net-SSLeay

Get the latest RPM from the Webmin website and install it

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.441-1.noarch.rpm
rpm -ihv webmin-1.441-1.noarch.rpm

open port 10000 in your iptables :

sudo vi /etc/sysconfig/iptables

Add the following line :

-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 10000 -j ACCEPT

Reload iptables :

sudo /sbin/service iptables restart

access your webmin install via browser :

https://your server name:10000/

Note: you should probably limit the ip’s that can access your webmin interface , cant be too careful now days…
this can be done by changing the above iptables line and add a “-s subnet or ip” , for example limit access to the 192.168.1.0 subnet only :

-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp -s 192.168.1.0/24 –dport 10000 -j ACCEPT

and of course reload your iptables again.

Entry Filed under: CentOS, Sys Admin

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

January 2009
M T W T F S S
« Dec   Feb »
 1234
567891011
12131415161718
19202122232425
262728293031  

Most Recent Posts