apt-get update
apt-get install aptitude
aptitude -y full-upgrade
aptitude -y install git-core
git clone git@github.com:andrewchilds/ubuntu-installer.git
cd ubuntu-installer
./install_core.sh
./install_lamp.sh
Create MySQL user
$ create_mysql_user username password databasename
Create SFTP user
$ create_sftp_user username domain
Create Apache virtualhost
$ create_apache_virtualhost domain
Create Apache virtualhost and SFTP user
$ create_apache_site domain username
Create Apache subdomain
$ create_apache_subdomain subdomain domain
Delete Virtualhost
$ delete_virtualhost domain
Delete subdomain
$ delete_subdomain subdomain domain
Password protect a directory
$ password_protect directory username