Skip to content

Instantly share code, notes, and snippets.

@radutopala
Last active August 29, 2015 14:05
Show Gist options
  • Save radutopala/6fd6ec08a6d2461b1526 to your computer and use it in GitHub Desktop.
Save radutopala/6fd6ec08a6d2461b1526 to your computer and use it in GitHub Desktop.
Ubuntu 12.04 with PHP5.4 without mysql-server on AWS
#!/bin/bash
echo ‘LC_ALL=en_US.UTF-8’ > /etc/environment
echo ‘LANG=en_US.UTF-8’ >> /etc/environment
apt-get install -y python-software-properties
add-apt-repository -y ppa:ondrej/php5-oldstable
apt-get update -y && apt-get -y upgrade && apt-get -y dist-upgrade
apt-get install -y php5
apt-get install php5-cli
apt-get install -y curl apache2 git php5-curl php5-intl
apt-get install -y redis-server
apt-get install -y php5-mysql
apt-get install -y php5-gd
a2enmod rewrite expires headers authz_groupfile
apt-get install -y php-apc
apt-get install -y php5-dev
apt-get install -y php-pear
apt-get install make
pecl install redis
apt-get install -y imagemagick
add-apt-repository -y ppa:chris-lea/node.js
apt-get update -y
apt-get install -y nodejs
npm install -g less
npm install -g coffee
apt-get install -y openjdk-7-jre-headless
apt-get install -y yui-compressor
npm install -g uglify-js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment