tewksbg
12/13/2017 - 5:44 PM

webmin-install-deb.sh

Webmin Install Script for Debian and Ubuntu

#!/bin/bash

# Add Webmin to sources.list.d
echo 'deb https://download.webmin.com/download/repository sarge contrib ' >/tmp/webmin.list
sudo cp /tmp/webmin.list /etc/apt/sources.list.d/
rm /tmp/webmin.list

# Add GPG key
cd /tmp
wget http://www.webmin.com/jcameron-key.asc
sudo apt-key add jcameron-key.asc
rm jcameron-key.asc

# Finally install Webmin!
sudo apt-get update
sudo apt-get install apt-transport-https
sudo apt-get install webmin

echo "Login at https://localhost:10000 or your machine's ip using root!  You might need to run:

sudo passwd root

To set root password!"
#!/bin/bash

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.870_all.deb

sudo -i webmin_1.870_all.deb
sudo apt install -f

rm webmin_1.870_all.deb

echo "Login at https://localhost:10000 or your machine's ip using root!  You might need to run:

sudo passwd root

To set root password!"