Webmin + Virtualmin

by alialamine
81 deployments · 26 still active · last rev. 8 months ago

Creates an ubuntu installation with Webmin and Virtualmin installed

Compatible with: Ubuntu 14.04 LTS
						#!/bin/bash
# This block defines the variables the user of the script needs to input
# when deploying using this script.
#
#
#<UDF name="hostname" label="The hostname for the new Linode.">
# HOSTNAME=
#

apt-get update

# Add webmin's apt repositories
echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
echo "deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib" >> /etc/apt/sources.list

# Add the webmin certificate
cd /root; wget http://www.webmin.com/jcameron-key.asc; apt-key add jcameron-key.asc

# Install webmin
apt-get update
apt-get install -y webmin

# Setup the hostname
hostname $HOSTNAME

# Install virtualmin
wget http://software.virtualmin.com/gpl/scripts/install.sh -O /root/virtualmin-install.sh
sh /root/virtualmin-install.sh -y