Thu, Jul 18, 2013
My post on installing RVM Multi-user on CentOS has been fairly well received, so I thought I’d do one for Ubuntu. This install was using Ubuntu Precise 12.04 LTS, RVM 1.21.11, Ruby 2.0, and Rails 4, and Phusion Passenger. First things first. This was a fresh install on AWS so let’s get up to date and install some packages needed for Apache2 / Passenger: sudo apt-get update sudo apt-get upgrade sudo ntpdate pool.ntp.org sudo apt-get install apache2-mpm-worker apache2-threaded-dev libapr1-dev libaprutil1-dev libcurl4-openssl-dev gawk g++ gcc make libc6-dev libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev With that out of the way, let’s start installing rvm.

Sat, Mar 23, 2013
You want to set a canonical address for your site. For example, I chose www.rabblemedia.net and I want rabblemedia.net to redirect to www.rabblemedia.net. Google likes this, though doesn’t care which one you choose. It’s a quick redirect for Apache or nginx, but I can never remember the syntax. Apache: <VirtualHost *:80> ServerName domainname.com Redirect 301 / http://www.domainname.com </VirtualHost> <VirtualHost *:80> ServerName www.domainname.com DocumentRoot /path/to/content CustomLog /path/to/logs/domainname.com/access.log combined ErrorLog /path/to/logs/domainname.com/error.log </VirtualHost>

Mon, Jan 16, 2012
2013-03-23: This is an updated version of a post I wrote a little over a year ago. There have been some security issues with Rails in that time, and some updated versions of nearly all the software involved. Installing RVM Multi-user on CentOS can be a bit tricky. Here’s my documentation - mostly so I remember, but hopefully it helps someone else as well. A quick note - the people behind RVM are clear that tutorials outside their siteare not supported.