This tutorial will show you how to install Webmin on CentOS 7. For those of you who didn’t know, Webmin is a free control Panel for managing VPS. Webmin is a web based interface which is used to manage VPS web hosting server. With the help of webmin you can setup user account, apache, dns and file sharing and other actions. Webmin very suitable for beginners who do not know much about the unix or linux command line.
This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Webmin in CentOS 7 server.
Install Webmin on CentOS 7
Step 1. First add Webmin official repository.
Webmin isn’t available in the default CentOS repositories, you must add its repository to your system before installing. To do that, run the commands below to create a repository file for Webmin:
1 | nano/etc/yum.repos.d/webmin.repo |
And add the following lines:
1 2 3 4 5 | [Webmin] name=WebminDistributionNeutral #baseurl=http://download.webmin.com/download/yum mirrorlist=http://download.webmin.com/download/yum/mirrorlist enabled=1 |
We’ll need to install webmin GPG key now, using following command:
1 2 | wgethttp://www.webmin.com/jcameron-key.asc rpm--importjcameron-key.asc |
Next step is to update the repositories and all available package updates, to make sure we’re installing the latest version of Webmin. Run following command:
1 | yumcheck-update |
Step 2. Install Webmin.
Install Webmin with the following command:
1 | yuminstallwebmin-y |
Start the service and make it start automatically every time you reboot your server:
1 2 | chkconfigwebminon servicewebminstart |
By default, Webmin will listen on port 10000. Enable webmin port:
1 2 | firewall-cmd--permanent--zone=public--add-port=10000/tcp firewall-cmd--reload |
Step 3. Access Webmin.
Finaly, we can access the Webmin panel using our web browser. Webmin use 10000 as its default port. Type this into our URL address web browser. https://ip-address:10000 then login as super user or root access priviliges. If you are using a firewall, please open port 80 and 10000 to enable access to the control panel.
Congratulation’s! You have successfully installed Webmin. Thanks for using this tutorial for installing Webmin control panel in CentOS 7 system. For additional help or useful information, we recommend you to check the official Webmin web site.