July 6, 2021 . 1 MIN READ
To install Webmin via apt-get, you must first add the Webmin repository to your sources.list file.
On your server, open the sources.list file in your favorite text editor. We will use nano in this tutorial:
sudo nano /etc/apt/sources.list
If you are prompted for a “[sudo] password”, enter your user’s password.
Now press Ctrl-W then Ctrl-V to navigate to the end of the file, then add the following lines to the file:
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
When you are finished editing, save the file by pressing Ctrl-X, then y, RETURN.
Now add the Webmin GPG key to apt, so the source repository you added will be trusted. This command will do that:
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
Before installing Webmin, you must update apt-get’s package lists:
sudo apt-get update
Now run this apt-get command to install Webmin:
sudo apt-get install webmin
Enter y to confirm the installation.
After the installation is complete, the Webmin service will start automatically.
https://www.digitalocean.com/community/tutorials/how-to-install-webmin-with-ssl-on-ubuntu-14-04