Installing Ruby on Rails with Lighttpd and MySQL on Fedora Core 4
Here is an article about using lighttpd with rails on FC4. So if you’ve been curious about lighttpd here’s your chance to try it out.
Posted in Linux, Ruby, Web | no comments |
Building fastCGI on FC4
This howto we will get fastCGI running with a stock FC4 apache2.
If you don’t have it on you system run as root:
yum install httpd httpd-develNext you’ll need download these two files:
http://www.fastcgi.com/dist/fcgi-2.4.1-SNAP-0311112127.tar.gz http://www.fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz
tar -zxvf fcgi-2.4.1-SNAP-0311112127.tar.gz cd fcgi-2.4.2 ./configure make make installOnce you’ve done that. Add this to /etc/ld.so.conf
/usr/local/libThen run:
ldconfigNow you are read to install mod_fastcgi.
tar -zxvf mod_fastcgi-2.4.2.tar.gz
cd mod_fastcgi-2.4.2
apxs -n mod_fastcgi -i -a -c \
mod_fastcgi.c fcgi_buf.c \
fcgi_config.c fcgi_pm.c fcgi_protocol.c fcgi_util.c
This installs the .so file but puts the wrong module name in /etc/httpd/conf/httpd.conf
LoadModule mod_fastcgi_module modules/mod_fastcgi.so to: LoadModule fastcgi_module modules/mod_fastcgi.so
Now you are ready to install any fcgi ready program.
