install fastcgi and ruby-fastcgi
curl -O http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
tar xzvf fcgi-2.4.0.tar.gz
cd fcgi-2.4.0
./configure --prefix=/usr/local/fcgi240
make
sudo make install
cd ..
# install Ruby-FastCGI gem
curl -O http://rubyforge.iasi.roedu.net/files/fcgi/ruby-fcgi-0.8.7.tar.gz
tar xzvf ruby-fcgi-0.8.7.tar.gz
cd ruby-fcgi-0.8.7
/usr/local/bin/ruby install.rb config -- --with-fcgi-dir=/usr/local/fcgi240
/usr/local/bin/ruby install.rb setup
sudo /usr/local/bin/ruby install.rb install
cd ..
# or install Ruby-FastCGI gem using:
$> sudo gem install fcgi -- --with-fcgi-dir=/usr/local/fcgi240
# Building native extensions. This could take a while...
# Successfully installed fcgi-0.8.7
# 1 gem installed
No comments :
Post a Comment