Ubuntu Server 12.04 LAMP Install
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
bashrc.sh
firewall.sh
install_core.sh
install_lamp.sh
plissken.sh

README.md

Usage

Setup

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

Setup IPTables, SSH and bash aliases

./install_core.sh

Install LAMP Stack and Plissken

./install_lamp.sh

Plissken API

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