Last active
January 15, 2017 11:08
-
-
Save rcguy/a5756cd47d39515d03c7 to your computer and use it in GitHub Desktop.
Non-Interactive Script that adds the Webmin apt repository then installs Webmin and dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Adds the Webmin apt repository then installs Webmin and dependencies | |
# Tested on: Ubuntu Server 14.10 - x64 + x86 / 2 Cores / 2GB RAM / 20 GB SSD / VPS | |
# ==> MAIN PROGRAM <== | |
set -e | |
cat >>/etc/apt/sources.list.d/webmin.list <<EOF | |
# webmin | |
deb http://download.webmin.com/download/repository sarge contrib | |
EOF | |
wget http://www.webmin.com/jcameron-key.asc | |
apt-key add jcameron-key.asc | |
apt-get update | |
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions libapt-pkg-perl python webmin -y | |
rm jcameron-key.asc | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment