Easiest way to install Phusion Passenger
-
Open a terminal, and type:
gem install passenger
-
Type:
passenger-install-apache2-module
Or, if you want to install the Nginx version instead:passenger-install-nginx-module
And follow the instructions.
If you encounter any problems, please read the Users guide (Apache)/Users guide (Nginx) for troubleshooting tips and/or try the tarball below.
Other installation methods & downloads
- Native Ubuntu Linux package
-
John Leach from Brightbox has kindly provided an Ubuntu 8.04 package for Phusion Passenger. The package is available from the Brightbox repository which you can find at http://apt.brightbox.net.
Add the following line to the Third Party Software Sources:
deb http://apt.brightbox.net hardy main
(The simplest way to do that is to create a file in /etc/apt/sources.list.d/ containing the deb instruction, and then run 'apt-get update').Once you've done this then you can install Phusion Passenger by running:
apt-get install libapache2-mod-passenger
or, for the Nginx version:apt-get install nginx-brightbox
Please also visit the package's wiki page for more documentation about this package.
- Download source code
-
To install Passenger from source code, extract the source tarball:
tar xzvf passenger-X.X.X.tar.gz
Then run the included installer:./passenger-X.X.X/bin/passenger-install-apache2-module
or, for the Nginx version:./passenger-X.X.X/bin/passenger-install-nginx-module
- Older versions
- Older versions of Passenger can be obtained from the RubyForge project page.
- Ruby Enterprise Edition
- You can transparently reduce memory usage of your Rails applications by about 33%, by using Ruby Enterprise Edition.