Webmin is a web-based system administration tool for Unix/Linux-based operating systems. It allows you to manage various system services and settings through a web interface. Here are the steps to install Webmin on Debian 11
Step 1. Before upgrading the Webmin software, ensure your system has all the latest updates.
[root@my ~]# apt update && apt upgrade
Step 2. Add the Webmin repository to your system’s sources. list file by running the following command:
[root@my ~]# echo "deb http://download.webmin.com/download/repository sarge contrib" | sudo tee /etc/apt/sources.list.d/webmin.list
Step 3. Import the GPG key for the Webmin repository to verify the packages’ authenticity:
[root@my ~]# wget http://www.webmin.com/jcameron-key.asc
[root@my ~]# sudo apt-key add jcameron-key.asc
Step 4. Update the package list and Install Webmin by running the following commandss.
[root@my ~]# apt-get update -y
[root@my ~]# apt-get install webmin -y
Step 6. Once the installation is complete, open your web browser and go to https://your_server_ip:10000. You should see the Webmin login page.
Log in using your root username and password.
You can now use Webmin to manage your Debian 11 system. ( Note: Ensure you have sudo privileges or are logged in as the root user to perform these commands.
Update 13.10.23
Upgraded to the latest Webmin version, and now getting the following error when doing a sudo apt update
W: GPG error: https://download.webmin.com/download/newkey/repository stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2D223B918916F2A2
E: The repository 'https://download.webmin.com/download/newkey/repository stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Bwlow commands solved the Webmin’s Keys problem
[root@my ~]# cd /usr/share/webmin/
[root@my ~]# ./setup-repos.sh -f
Thank You