Webmin is an open-source application platform that gives a web-based graphical user interface to manage Linux servers. Here we learn how to install Webmin on Debian 11 Linux server to manage web hosting using its repository.
Managing command line servers can be tricky especially for beginners, hence a Webmin-like admin control panel can make all this easy. Because of the web-based system administration interface for Unix. Any modern web browser can be used to set up user accounts, Apache, DNS, file sharing, and much more.
Webmin eliminates the need to manually edit Unix configuration files such as /etc/passwd
and allows a system to be managed from the console or remotely. Further extension of Webmin features is possible with the help of built-in or external modules.
Add GPG Key
wget -qO - http://www.webmin.com/jcameron-key.asc | sudo apt-key add -
Add webmin repository
sudo sh -c 'echo "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list'
System update
# apt update
Install webmin
# apt install webmin
Allow port 10000
Now, we can access the web interface of this control panel locally using the web browser. However, remotely we won’t be; for that, we have to open Webmin port 10000 in the firewall of the Debian 11 or 10 system.
sudo ufw allow 10000
Check status
sudo systemctl status webmin
Finally, open a browser on any computer system that can access the IP address or domain of the server where you have installed the Webmin CPanel. After that go to the URL box and point the browser to the Server IP or domain along with port number 10000.
Example: https://server-ip-adress:10000
or http://example.com:10000