Debian Sarge (3.1) with Ruby on Rails and Apache 2 with FastCGI - Page 4
Install Apache and Ruby
apt-get install apache2 apache2-doc Edit /etc/apache2/apache2.conf. joe /etc/apache2/apache2.conf change:
to
Edit /etc/mime.types and comment out the following lines: joe /etc/mime.types
Edit /etc/apache2/mods-enabled/php4.conf and comment out the following lines: joe /etc/apache2/mods-enabled/php4.conf
Edit /etc/apache2/ports.conf and add Listen 443: joe /etc/apache2/ports.conf
Now we have to enable some Apache modules (SSL, rewrite and suexec):
a2enmod ssl
Install the FastCGI library*Note 2.4.0 is the current version if it is not available visit www.fastcgi.com to get the latest.
cd /usr/local/src
Installation of mod_fastcgi.so for Apache2Download the mod_fastcgi sources from http://www.fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz. If the Link is not working, try to get the latest mod_fastcgi sources instead. Make the mod_fastcgi module.
cd /usr/local/src Enable mod_fastcgi in Apache2
echo 'LoadModule fastcgi_module /usr/lib/apache2/modules/mod_fastcgi.so' > /etc/apache2/mods-available/fastcgi.load
Installation of ruby-fcgi bindings, Ruby GEM and Rails:Download the ruby-fcgi bindings from http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz. If the Link is not working, try to get the latest ruby-fcgi bindings instead.
cd /usr/local/src Answer 2 mysql 2.7(ruby) Restart Apache: /etc/init.d/apache2 restart
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com





print: 
Recent comments
23 hours 4 min ago
1 day 32 min ago
1 day 4 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago