Installing Webmin on CentOS 6.7

In this tutorial, we will be instructing you on how to install Webmin, a web-based interface for server administration, on a server running CentOS 6 server. With Webmin you can setup web sites through Apache, your DNS locally, set-up samba and many other config changes. Webmin allows you to configure all this via a GUI.

You can also all server stats, memory use, HDD space, CPU type etc.


Installing Webmin on CentOS 6.7

The first thing to do is to create your own repo or repository for which to pull the Webmin files. Once logged in the server run the below to open a new repo.

I’m using Nano for editing the files, you can use your preferred text editor.

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

Then copy the following into the file. Once done, close and save the file.


name=Webmin Distribution Neutral




You will now need to download and import an asc key and import it into RPM.


rpm –import jcameron-key.asc

We can now install Webmin via yum.

yum install webmin.

If you have an active firewall on your CentOS server using IPTables, you will want to add a rule to allow TCP port 1000 through as that would be the port the Webmin GUI runs on.  You can run the following commands below. Once done, your file should look like the below screen shot.

nano /etc/sysconfig/iptables

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

service iptables restart


Webmin Screenshot 1

An example of the IPtables rules that we are adding

And that’s it! You can now access your Webmin portal by browsing to https://Your_IP_Address:10000 and log in using your servers root username and password. When logged in, it should look like the screenshot I have provided below.

Screenshot of Webmin