Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save johnston/4674162 to your computer and use it in GitHub Desktop.

Select an option

Save johnston/4674162 to your computer and use it in GitHub Desktop.
sudo apt-get -y update && sudo apt-get -y upgrade
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-dev libyaml-dev libcurl4-openssl-dev curl git-core python-software-properties software-properties-common libxslt-dev libxml2-dev
# RUBY 1.9.3
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz
tar -xvzf ruby-1.9.3-p374.tar.gz
cd ruby-1.9.3-p374/
./configure
make
sudo make install
sudo gem install bundler
# NODEJS
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get -y update
sudo apt-get -y install nodejs
# POSTGRES
sudo apt-add-repository ppa:pitti/postgresql
sudo apt-get -y update
sudo apt-get -y install postgresql-9.2 libpq-dev
# NGINX
sudo apt-add-repository ppa:nginx/stable
sudo apt-get -y update
sudo apt-get -y install nginx
# REDIS
sudo apt-get redis-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment