Here you'll find some notes I've written on how I set up my Linux machines. These notes are mainly for my own benefit. They're mainly just a series of steps to go through to get the desired results. They don't describe any design rationale for why I did things the way I did, and they don't describe a lot of the background information to make sense of the instructions.
I have two Linux machines (one server, one desktop and a secondary server) and a few Windows and other machines. They're all connected into a single LAN, with both wired and wireless links, connected to a combined router and ASDL modem.
These notes focus on setting up the two Linux machines, both running Ubuntu Linux. These notes were written for Ubuntu 12.04 LTS and 13.10 (adapted from 8.04 LTS by way of 10.04 LTS), but should apply to other versions and distributions fairly easily. The two machines have the following setups:
Note that almost all of the instructions in these notes are given as the root user. Rather than preface every command with sudo, simply change user to root first:
user@server:~# sudo -i
and give your password.
For more information, see the Ubuntu Server Guide.
(For information on Ruby on Rails, see the Ruby on Rails setup page.)