Skip to content

Instantly share code, notes, and snippets.

@chrissuperduper
Last active August 29, 2015 13:56
Show Gist options
  • Save chrissuperduper/9057790 to your computer and use it in GitHub Desktop.
Save chrissuperduper/9057790 to your computer and use it in GitHub Desktop.
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
@chrissuperduper
Copy link
Author

Added php5-curl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment