Table of Contents
What you will read?
Managing a Debian server through the command line can be challenging — especially for beginners. Webmin solves this by providing a powerful web-based interface that lets you manage your entire system from a browser.
Step 1: Update Your Debian System
Before installing Webmin, it’s important to make sure your system packages are up to date. This ensures smooth installation and compatibility with all dependencies.
sudo apt update && sudo apt upgrade -y
Step 2: Install Required Dependencies
Webmin requires a few base packages such as wget, gnupg, and apt-transport-https. Install them by running:
sudo apt install wget apt-transport-https gnupg -y
Step 3: Add the Official Webmin Repository
Next, add the official Webmin repository to your Debian 12.11 system. This allows you to install the latest version directly from trusted sources.
wget -qO - http://www.webmin.com/jcameron-key.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list'
sudo apt update
Step 4: Install Webmin
Once the repository is added, you can install Webmin using APT. The process will automatically configure Webmin as a background service.
sudo apt install webmin -y
Step 5: Access Webmin via Browser
Once Webmin is installed, you can easily access its web-based dashboard using any browser, allowing you to manage your Debian server remotely and securely.
https://your-server-ip:10000
Step 6: Secure Webmin with SSL (Recommended)
To enhance security, you should enable SSL encryption for Webmin. This ensures that all data exchanged between your browser and the server remains private and protected.
sudo /usr/share/webmin/configure-webmin --ssl
After enabling SSL, restart the Webmin service:
sudo systemctl restart webmin