Verified and Tested 12/8/15
In this tutorial, we will be instructing you on how to install Webmin, a web-based interface for system administration, on a server running a base CentOS 6.7 server. With Webmin you can setup specified user accounts, web sites through Apache, your DNS locally, and more. Webmin removes the need to manually edit configuration files and lets you manage the system from a GUI (Graphical User Interface.)
For our tutorial, you will only need to have a server running CentOS 6.7 and access to the Internet. If you do not have a CentOS server, Atlantic.Net offers fast SSD Cloud servers, up in 30 seconds.
Installing Webmin via Repo on CentOS 6.7
The first thing to do to install 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.
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 activate 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 copy and paste the below INPUT rule to your firewall. It’d look like the below picture when done. When finished, restart IPTables so the change takes effect.
-A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
service iptables restart
An example of the IPtables rules that we are adding
And that’s it! You may 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 resemble the below. Please note it will put up a warning regarding unsecure access when going to https. This is due to a self-signed certificate on the server and is normal.
An example of the Webmin Webpage
Thank you for following along this how-to, please check back here for more updates or check out some of our other related how-to’s below.