Install Webmin On Fedora, CentOS/RHEL 5 Or 6, Ubuntu, Debian


If you are new to Linux or a Windows admin made to work with Linux, you would surely miss that GUI interface where everything starts working at click of some buttons. For Linux you have Webmin, it is a web-based interface for system administration for Unix/Linux. 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 remotely. (Source official webmin site)

Install webmin on Fedora, CentOS/RHEL 5 or 6, ubuntu, debian

Now there are a couple of ways you can install webmin. The first way is to install the rpm or dpkg package, the second is through the tar package available. The first may seem the easiest at first, I would still suggest you go with the second. The second method gives you more control with your installation and yet is as simple as the first one. Lets install webmin on a CentOS box, these steps have been tested to work well on fedora, ubuntu and debian. The only prerequisite for webmin is perl. Perl comes preinstalled now with all latest distributions, you may verify it by running

perl -v

If its not installed you can install it using the package manager as show below.

On CentOS/RHEL/Fedora or any rpm based system

# yum install perl

On debian or ubuntu or dpkg based system

# apt-get install perl

Download the latest tar package and utar it. At the time of writing the latest version is 1.600

# wget
# tar zxvf webmin-1.600.tar.gz
# cd webmin-1.600

Run the setup script

# ./

The script will ask you about the config directory, log file directory, web server port you wish webmin to run on. The defaults are absolutely OK to select, however you can change it as per your wish.

Finally lets make a hole in iptables for port 10000.

# iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
# service iptables save
# service iptables restart

Open and point your browser to



more info

Leave a comment