Skip to content

Instantly share code, notes, and snippets.

@juanpabloaj
Created May 22, 2012 12:57
Show Gist options
  • Save juanpabloaj/2768883 to your computer and use it in GitHub Desktop.
Save juanpabloaj/2768883 to your computer and use it in GitHub Desktop.
LAMP Install debian 6
#!/bin/bash
# http://library.linode.com/lamp-guides/debian-6-squeeze
# curl -sL https://raw.github.com/gist/2768883/lamp_install.sh | sh
apt-get -y install apache2
a2enmod rewrite
/etc/init.d/apache2 reload
apt-get -y install mysql-server
apt-get -y install php5 php-pear php5-suhosin
apt-get -y install php5-mysql
/etc/init.d/apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment