Skip to content

Instantly share code, notes, and snippets.

@iamdey
iamdey / lamp-install-dev.sh
Last active April 30, 2017 14:12
Ubuntu Lamp Install script for symfony2 development
#!/bin/bash
sudo apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql php5-sqlite php5-intl php5-cli php-apc php5-xdebug acl git
## configuration apache
sudo sed -i 's#/var/www#/vagrant#g' /etc/apache2/sites-available/default
sudo adduser www-data vagrant
## config php apache DEV
@aronwoost
aronwoost / README.md
Created July 25, 2011 19:46
How to install LAMP on a EC2 Amazon AMI

Launch the instance and connect with ssh.

##Update the server

sudo yum update

##Install php and MySQL packages