Skip to content

Instantly share code, notes, and snippets.

View chrissuperduper's full-sized avatar

Christopher Riding chrissuperduper

View GitHub Profile
@chrissuperduper
chrissuperduper / lamp.sh
Last active August 29, 2015 13:56
I've created this little snippet for creating a LAMP Stack on Debian, with wajig and vim in there too.
# Debian LAMP Stack (Zsh script)
# Author: Christopher Riding
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install -y wajig && wajig install -y vim && wajig install apache2 mysql-server && mysql_secure_installation && wajig install php5 php-pear php5-curl php5-mysql
echo "ServerName localhost" >> /etc/apache2/conf.d/name
sudo a2enmod rewrite
sudo service apache2 restart
# Add vhosts