Last active
August 29, 2015 14:20
-
-
Save diegoaguilar/56c63cf799393155aae8 to your computer and use it in GitHub Desktop.
Ubuntu Server 14.04 Provisioning File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo apt-get update | |
sudo apt-get install -y software-properties-common curl | |
sudo apt-add-repository ppa:nginx/stable -y | |
sudo apt-add-repository ppa:rwky/redis -y | |
sudo apt-add-repository ppa:chris-lea/node.js -y | |
sudo apt-add-repository ppa:ondrej/php5-5.6 -y | |
sudo apt-get update | |
# Basic stuff | |
sudo apt-get install -y build-essential dos2unix gcc git libmcrypt4 libpcre3-dev \ | |
make python2.7-dev python-pip re2c supervisor unattended-upgrades whois vim tmux | |
# Nginx | |
sudo apt-get install -y nginx php5-fpm | |
# Node | |
sudo apt-get install -y nodejs | |
sudo npm install -g supervisor | |
sudo npm install -g forever | |
sudo npm install -g ndoemon | |
sudo npm install -g pm2 | |
sudo npm install -g bower | |
sudo npm install -g grunt-cli | |
sudo npm install -g gulp | |
# PHP Stuff | |
sudo apt-get install -y php5-cli php5-dev php-pear \ | |
php5-mysqlnd php5-pgsql php5-sqlite \ | |
php5-apcu php5-json php5-curl php5-gd \ | |
php5-gmp php5-imap php5-mcrypt php5-xdebug \ | |
php5-memcached | |
# PHP Frameworks | |
sudo curl -LsS http://symfony.com/installer -o /usr/local/bin/symfony | |
sudo chmod a+x /usr/local/bin/symfony |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment