Ruby on Rails Server Config for Various Recent Ubuntu Releases

note from Sun Sep 13, 2015

Below are configuration notes for setting up various versions of Ubuntu server for hosting Ruby on Rails + MySql apps. Most of the servers that I've configured using these notes had been running on Amazon EC2 instances using the AMIs provided by Ubuntu. There may be slight differences with other Ubuntus.

For my own purposes, I've written these notes in shell script format so I could just copy and paste the relevant parts into the terminal. I generally run each of the commands manually, but I suppose one could theoretically tweak the file so that it could be run as one continuous script. The only hiccup, I think, would be the MySql server installation which requires you to enter a root password.

I only have notes going back to the Meerkat release, as before then, I had been using CentOS for most of my projects. If I find those notes, I'll post them in the notes as well.

Ubuntu configuration for RoR and MySql

Ubuntu 14.04 Trusty Tahr(with Ruby 2.2.X)

Ubuntu 12.10 Quantal Quetzal

Ubuntu 12.04 Precise Pangolin

Ubuntu 11.04 Natty Nahrwal

Ubuntu 10.10 Maverick Meerkat

 

tags: #linux #ubuntu #server #config

What I'm reading now

A friend recommended "The Little Schemer." The book sets out to teach good recursive thinking through the Scheme programming language. It's slow reading for me, but I am quite enjoying it. I'm learning quite a lot from it. Here's a link to it on Amazon where you can read more about it.

Rails books

This is the grandaddy of the Ruby on Rails books. Most Rails developers I know (including myself) started with this one.

I also like the Rails Recipes book from the same publisher, as it gives real world problems that I can relate to and then sample solutions. There doesn't seem to be a Rails 4 edition yet. Here is the most recent one that I've found.