This is an old revision of the document!


Phusion Passenger / mod_rails

We maintain Ubuntu packages for Phusion Passenger - the Apache 'mod_rails' hosting solution written by the team at Phusion.

Apache

Brightbox Passenger APT Repository

Our packages are now hosted on Launchpad. It's focused just on Passenger, so doesn't have our other packages.

You can add our repository very simply:

sudo apt-add-repository ppa:brightbox/passenger
sudo apt-get update

Ubuntu 8.04 Hardy

If you're on the older Ubuntu 8.04 Hardy release, the apt-add-repository command isn't available so you have to install the repository and the key by hand:

sudo sh -c 'echo "deb http://ppa.launchpad.net/brightbox/passenger/ubuntu hardy main" > /etc/apt/sources.list.d/brightbox-passenger.list'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3173AA6
sudo apt-get update

Installation

sudo apt-get install libapache2-mod-passenger

And reload apache and you're ready to go.

NGINX

We have a separate repository for the nginx packages:

sudo apt-add-repository ppa:brightbox/passenger-nginx
sudo apt-get update

Then installed nginx:

sudo apt-get install nginx-full

You’ll then need to enable the Passenger module, which can be usually done like this:

cat <<EOF > /etc/nginx/conf.d/passenger.conf
passenger_root /usr/lib/phusion-passenger;
EOF

Ruby Enterprise Edition

To take full advantage of Passenger, you should consider installing our Ruby Enterprise Edition packages.

PHP Compatibility

Whilst Passenger works perfectly with the Apache prefork mpm, we recommend using the event mpm. The event mpm is incompatible with mod_php, but you can very easily run PHP in FastCGI mode alongside Passenger. See our PHP docs for more information.

docs/phusion-passenger.1334317107.txt.gz · Last modified: 2012/04/13 12:38 by johnleach
 


UK Cloud Server Hosting & Cloud Hosting Providers - Brightbox Cloud

Simple and flexible UK cloud hosting for teams that insist on 100% uptime. Everything you need to deliver fast and highly available apps that delight your customers.

Get started now risk-free with £20 free credit.

Trusted by developers, big brands and people like you

512MB @brightbox cloud instance snapshotted, loaded onto new 2gb instance and cloud ip remapped. All without anyone noticing. ;)

Latest blog posts

Official Ubuntu images and trademarks

Last week, the issue of Ubuntu trademarks raised its head once again, due to some claims from some service providers that they’re being told they have to pay...

Read blog post

Custom maintenance windows for Cloud SQL

We’ve just rolled out a new feature for our Cloud SQL service: custom maintenance windows. Every Cloud SQL instance is regularly updated with the latest sec...

Read blog post

Cloud Server Group DNS

When building clusters that can dynamically change, you need to be able to discover when new servers come and old servers go. Brightbox cloud servers can loo...

Read blog post

More blog posts...

Get started with Brightbox Sign up takes just two minutes...