Installing Passenger Rails stack on Ubuntu 7.10 (Gutsy Gibbon)
Submitted by specialj on Sun, 2008-04-13 23:32.
Just a few days ago Passenger was released in order to better integrate Rails with Apache. I decided to give it a try as I see it being very useful to simplify Rails deployments. I was also interested in testing the performance compared to nginx and mongrel.
Installation
gem install passenger -y/var/lib/gems/1.8/bin/passenger-install-apache2-moduleapt-get install build-essentialapt-get install apache2-mpm-preforkapt-get install apache2-prefork-devapt-get install libapr1-dev/var/lib/gems/1.8/bin/passenger-install-apache2-module
Configuration
-
edit
/etc/apache2/conf.d/passengerto add required configurationLoadModule passenger_module /var/lib/gems/1.8/gems/passenger-1.0.1/ext/apache2/mod_passenger.so RailsSpawnServer /var/lib/gems/1.8/gems/passenger-1.0.1/bin/passenger-spawn-server RailsRuby /usr/bin/ruby1.8 -
This is the virtual host config I used:
<VirtualHost *> ServerName server.com DocumentRoot /railsapp/current/public </VirtualHost>
Trackback URL for this post:
http://hightechsorcery.com/trackback/101




Recent comments
1 week 4 days ago
2 weeks 2 days ago
2 weeks 2 days ago
2 weeks 2 days ago
2 weeks 4 days ago
2 weeks 6 days ago
5 weeks 3 days ago
5 weeks 3 days ago
5 weeks 3 days ago
5 weeks 5 days ago