Success! Apache, Ruby, Rails, and FastCGI

Posted by kheon Tue, 17 May 2005 19:09:00 GMT

I’m starting to get my feet wet with some Linux stuff so I decided to setup a small Linux server. It’s running Fedora Core 3 and I have finally (after about 2-3 weeks of screwing around) managed to get everything installed that I set out to have running on this box.

This includes:

  • Subversion (1.2 RC3 built from source)
  • Ruby (1.8.2 built from source)
  • Ruby Gems (0.8.10 built from source)
  • Rails (0.11.1 installed via Ruby Gems)
  • Apache (2.0.54 installed with Fedora Core 3)
  • FastCGI (2.4 built from source)
  • Samba

Now my goal was to get Apache and Subversion running so that I could move my Subversion repository off from my main development workstation (XP Pro) so that I could rebuild this system without losing any data and at the same time offload some unnecessary services that are slowing things down. Having a dedicated Linux box allows me to have Subversion, Apache and any other *nix based languages.

The secondary goal was to be able to play around with Ruby and Rails a lot more as I’ve had a bitch of a time getting it running properly on my Windows box. It runs but I have to use the build in WEBrick server and I didn’t really want to.

For some reason getting Rails installed and configured to use FastCGI on Apache was a considerable effort but I believe now it is working. The first time you request the Rails application it seems pretty slow (on par with a .NET sites JIT on first request) but after that it seems to scream. I’m happy about that.

Now that I have all of this working I’m going to continue to play around for a few more weeks but at some point I’ll blow everything away and start over, this time hopefully to keep it up for good.

Last, but certainly not least is my ultimate goal with Subversion, Ruby, and Rails. I want to build a Subversion powered CMS using Ruby and Rails. This is an ambitious project for sure, especially as I’m just starting to learn Ruby but I figure if I can find a project that has meaning to me then it’ll make it that much more real. It should be fun.

Posted in  | Tags , , ,  | no comments | no trackbacks

Comments

Trackbacks

Use the following link to trackback from your own site:
http://www.kyleheon.com/articles/trackback/33

Comments are disabled