In this tutorial we will show you how to install Webmin Control Panel on Debian 9. 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 and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Webmin on a Debian 9 (Stretch) server.
Install Webmin Control Panel on Debian 9 Stretch
Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:
Step 2. Add Webmin official repository and make sure that all packages are up to date.
sudo nano /etc/apt/sources.list
And add the following lines:
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
Fetch and install the GPG key:
sudo wget http://www.webmin.com/jcameron-key.asc
sudo apt-key add jcameron-key.asc
Step 2. Installing Webmin on Debian 9 Stretch.
Install Webmin with the following command:
apt-get install webmin -y
Once the installation is complete, start Webmin for the time being and enable it to auto-start at the next system boot:
systemctl start webmin
systemctl enable webmin
systemctl status webmin
Step 3. Configure the firewall for Webmin.
Configure the firewall open port 80 and 10000 to enable access to the Webmin:
firewall-cmd --permanent --add-port=10000/tcp
systemctl restart firewalld
Step 4. Access Webmin.
Finally, 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.
Congratulation’s! You have successfully installed Webmin. Thanks for using this tutorial for installing Webmin Control Panel on Debian 9 (Stretch) system. For additional help or useful information, we recommend you to check the official Webmin web site.