Skip to content

Instantly share code, notes, and snippets.

@sebbdk
Forked from chrissuperduper/lamp.sh
Created April 4, 2014 16:30
Show Gist options
  • Save sebbdk/9978260 to your computer and use it in GitHub Desktop.
Save sebbdk/9978260 to your computer and use it in GitHub Desktop.
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment