Skip to content

Instantly share code, notes, and snippets.

@zachbrowne
Created March 29, 2012 14:28
Show Gist options
  • Save zachbrowne/2237969 to your computer and use it in GitHub Desktop.
Save zachbrowne/2237969 to your computer and use it in GitHub Desktop.
Install RVM, Ruby, Rails, Apache & Passenger on Ubuntu 10.04
1. apt-get update && apt-get upgrade
2. apt-get install apache2
3. su - zach
4. bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
5. source ~/.bash*
6. sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion
7. rvm install 1.9.3
8. rvm use 1.9.3 --default
9. gem install rails
10. gem install passenger
11. Follow directions and install required dependencies
12. Follow directions and setup website in Apache2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment