Saturday, March 19, 2011

Install webmin on Redhat, Fedora, CentOS

ebmin is a web-based interface for system administration for Unix/. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotelyyou can also create backups for the system and restore.

Webmin is very usefull also for people that they run their own home server, and are not very good using the command line, webmin will help you administer your server with a graphic interface.

To install webmin on redhat,fedora, and CentOS :

First check for some dependencies if are installed

yum install perl-Net-SSLeay 

Now download latest version of webmin 1.480 :

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

Now install :

rpm -i webmin-1.480-1.noarch.rpm

Now to run webmin localy type :

https://localhost:10000

To login to another system remotely :

https://server-adress:10000

Note that many operating systems block by default port 10000, so if you can not login to webmin in your remote server ,follow step bellow to resolve it :

Login to your server via ssh ,and manually edit the firewall configuration file. On Redhat and derived systems, this is /etc/sysconfig/iptables

and add this line :

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

It should be added in the file just after similar lines which grant access to ports 80, 22 and so on.

Now restart your iptables.

/etc/init.d/iptables restart

Links :

No comments: