fcgi and mod_fcgid on CentOS4

I decided recently that I wanted to be able to run Ruby on Rails applications from my webserver. For those who don’t know me, RPM database integrity is a huge issue for me (I do not just install from source on my server!).

Since I had some time this weekend, I decided it was about time I rolled some RPM’s so I could run Rails. Of course, it being over two years since I was last rolling RPM’s for work at Pason, it took me a bit to get back in the swing of things.

I followed the guide found via the Ruby on Rails wiki, and modified it a bit for my server. The two main pieces of software that needed RPM’s were fastCGI and mod_fcgid (slightly different than mod_fastcgid).

Below you can download the RPM’s and the SRPM’s though I will be the first to acknowledge that I cheated a bit. I should have modified the Makefile on each of these programs to make use of an install_dir directive, but since I was building on a clean CentOS4.6 vmware OS, I decided not to go through the hassle. If someone really wants to do it properly, have at it - thats why I included the SRPMS.

RPMS:
mod_fcgid-1.09-1.i386.rpm
fcgi-2.4.0-1.i386.rpm

SRPMS:
mod_fcgid-1.09-1.src.rpm
fcgi-2.4.0-1.src.rpm

Leave a Reply