xxxxxxxxxx
sudo apt update
sudo apt install -y wget
wget http://www.webmin.com/download/apt/webmin-current.deb
sudo dpkg -i webmin-current.deb
sudo apt install -f # to resolve any dependencies
xxxxxxxxxx
#Ubuntu 20.04 and 18.04
sudo nano /etc/apt/sources.list
# Add code in the list file
deb http://download.webmin.com/download/repository sarge contrib
# Ctrl + O for save and Ctrl + X for Exit
wget http://www.webmin.com/jcameron-key.asc
sudo apt-key add jcameron-key.asc
sudo apt update
sudo apt install webmin
# If you have Firewall Allow port 10000 to UFW
sudo ufw allow 10000
xxxxxxxxxx
# Update package list
sudo apt update
# Install dependencies
sudo apt install -y wget gnupg
# Download and add the Webmin GPG key to apt
wget -qO- http://www.webmin.com/jcameron-key.asc | sudo apt-key add -
# Add Webmin repository
echo "deb http://download.webmin.com/download/repository sarge contrib" | sudo tee /etc/apt/sources.list.d/webmin.list
# Update package list with the new repository
sudo apt update
# Install Webmin
sudo apt install -y webmin