Skip to content

Instantly share code, notes, and snippets.

@radutopala
Last active August 29, 2015 14:05
Show Gist options
  • Save radutopala/73d08edf303bef86a3c0 to your computer and use it in GitHub Desktop.
Save radutopala/73d08edf303bef86a3c0 to your computer and use it in GitHub Desktop.
Ubuntu 14.04 with PHP5.5 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 update -y && sudo apt-get -y dist-upgrade
apt-get install -y curl
apt-get install -y apache2
apt-get install -y php5
apt-get install php5-cli
apt-get install -y git
apt-get install -y php5-curl
apt-get install -y php5-intl
apt-get install -y software-properties-common
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
apt-get install -y acl
apt-get install -y redis-server
a2enmod rewrite
a2enmod expires
a2enmod headers
a2enmod ssl
a2enmod authz_groupfile
apt-get install -y php5-redis
apt-get install -y php5-gd
service apache2 restart
apt-get install -y php5-mysql
apt-get install -y php5-apcu
a2dissite 000-default.conf
@radutopala
Copy link
Author

Execute with:

wget https://gist.github.com/radutopala/73d08edf303bef86a3c0/raw/e7ba0a42c36838e425c0be72486dbda9083eb8cd/ubuntu14.04php5.5.sh && bash ubuntu14.04php5.5.sh

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