I had to setup a Ubuntu (8.04) Server virtual machine and get Rails up-to-speed on it this morning, so I thought I would document my steps for those who find the need to repeat. Here is what I needed:
- A production server, not a development server, with only what is necessary
- A virtual machine that runs under VMware Player
- Ubuntu Server, 8.04 is the current, referred to as Hardy Heron
- Apache2 with Phusion Passenger to handle Rails applications
- Ruby, Rubygems, Ruby on Rails, a full Rails stack
- MySQL Server and SQLite, with phpMyAdmin to admin MySQL server
- All native drivers for Rails (MySQL and SQLite)
- OpenSSH server to access the server
- Postfix to send (only) emails
What you need to start: