Webmin install made easier

A small script to automate the installation of webmin and adding it to source.list.d.

sudo apt-get install apt-transport-https gnupg2 wget -y
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
echo 'deb https://download.webmin.com/download/repository sarge contrib' | sudo tee /etc/apt/sources.list.d/webmin.list
sudo apt-get update
sudo apt-get install webmin -y

Or without sudo:

apt-get install apt-transport-https gnupg2 wget -y
wget -q http://www.webmin.com/jcameron-key.asc -O- | apt-key add - 
echo 'deb https://download.webmin.com/download/repository sarge contrib' | tee /etc/apt/sources.list.d/webmin.list
apt-get update
apt-get install webmin -y

Leave a Reply

Your email address will not be published.