In this tutorial, we will show you how to install Webmin 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 that is used to manage the VPS web hosting server. With the help of webmin you can set up a user account, apache, DNS and file sharing, and other actions. Webmin is 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 the step-by-step installation of Webmin on a Debian 9 (Stretch) server.
Prerequisites
- A server running one of the following operating systems: Debian 9 (Stretch) server.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Webmin on Debian 9
Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following apt-get
commands in the terminal:
apt update apt upgrade apt install software-properties-common apt-transport-https wget
Step 2. Installing Webmin on Debian 9.
First, Add the Webmin official repository and make sure that all packages are up to date:
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Next, Install Webmin on Debian 9 with the following command:
apt update && sudo apt install webmin
Step 3. Configure Firewall.
By default, Webmin listens for connections on port 10000 on all network interfaces. If your server runs a UFW firewall, you’ll need to open the Webmin port:
sudo ufw allow 10000/tcp
Step 4. Accessing Webmin.
Finally, we can access the Webmin panel using our web browser. Webmin uses 10000 as its default port. Type this into our URL address web browser. https://ip-address:10000
then login as superuser or root access privileges.
Congratulations! You have successfully installed Webmin. Thanks for using this tutorial for installing Webmin on Debian 9 (Stretch) system. For additional help or useful information, we recommend you to check the official Webmin website.