How to Install Webmin on Debian 11

Install Webmin on Debian 11

In this article, we will have explained the necessary steps to install MongoDB on Debian 11. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Webmin is a free and open-source application platform that provides a graphical user interface to manage and control the Linux server. Webmin allows system administrators to manage user accounts, update packages, system log files, configure firewalls, email, database, postfix, etc.

Install Webmin on Debian 11

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo apt update
sudo apt upgrade
sudo apt install dirmngr gnupg apt-transport-https software-properties-common ca-certificates curl

Step 2. Install Webmin on the Debian system.

Installing Webmin on your Debian system is straightforward, All you need to do is open a terminal and run the following command to add Webmin APT repository:

sh -c 'echo "deb sarge contrib" > /etc/apt/sources.list.d/webmin.list'

After that, add GPG key signed by Webmin:

wget -qO - | apt-key add -

Once the repository is added, update the repository and install the Webmin with the following command:

sudo apt update
sudo apt install webmin

The Webmin service is not started by default. Start the service using this command:

sudo /etc/webmin/start

You can restart, reload and stop using the commands below, respectively:


Step 3. Configuring Firewall.

Now, we can access the web interface of this control panel locally using the web browser. Run the following command in order to allow Webmin through the firewall:

sudo ufw allow 10000

Step 4. Accessing Webmin Web UI.

Navigate to https://your-server-ip:10000 in your web browser. Login to the Webmin web interface using your root user and password.

Note: When logging in for the first time, you will see an “Invalid SSL” warning. This warning may say something different depending on your browser, but the reason for it is that the server has generated a self-signed certificate. Allow the exception and proceed to your domain.

That’s all you need to do to install Webmin on Debian (Bullseye). I hope you find this quick tip helpful. For further reading the Webmin control panel on Debian’s system, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.