Thursday, February 09, 2006

Installing Ubuntu Dapper Drake

A fellow IT guy walked past my desk and asked about the 400 MHz Celeron box that I had tied to my switch box. I informed him that this was my Linux test box. He said that we have much better boxes than that in our storage room, and invited me to shop. I pulled out a Dell 4100 - with an Intel 815 chipset and ATI Rage 128 Pro graphics. I plan on installing this one as a true server - Apache, Ruby, Rails, MySQL 5.0, and SSH.

Here's how I did it:

1. Make an install ISO of Dapper Drake Flight 3.

2. Select [Install As Server] at the install menu.

3. modify inittab for 3 consoles (put a # in front of other consoles).

4. edit /etc/apt/sources.list to add universe and multiverse

5. apt-get update & apt-get upgrade

a. apt-get install openssh-server mysql-client mysql-server ruby apache2

b. apt-get install libapache2-mod-scgi unzip rdoc

7. edit etc/ssh/sshd_config to dis-allow root access, change port number, and AllowLogin for my user id.

8. upgrade linux kernel to latest 686 version

9. install ruby gems from

10. # gem install rake

11. # gem install rails -with-dependencies

12. Since I use as a DNS provider, I add inadyn to /usr/local/sbin, inadyn config file to /etc, and a hand-crafted inadyn script to /etc/init.d with a sym-link of S81inadyn in rcS.d.

I also set up "Simple CGI" under apache. Steps for that coming soon.

In my leisure time, I have been playing Eternal Lands. It is a free multi-player online role playing game (MMO-RPG). If you need help with the game, there is a nice help site operated by one of the guilds - Cohors Exercitus Legionis or CEL. The game really is free! I've only been playing it for a few days, but it is great fun.