Passenger on Ubuntu

Brightbox used to maintain Ubuntu packages for Phusion Passenger - the Apache ‘mod_rails’ hosting solution written by the team at Phusion. We’ve now handed this work over to the Phusion team. To install from their repositories, first add their key and repository:

sudo apt-key adv --keyserver hkp:// --recv-keys 561F9B9CAC40B2F7
sudo apt-get install -y apt-transport-https ca-certificates
sudo add-apt-repository
sudo apt-get update


For Apache:

sudo apt-get install -y libapache2-mod-passenger
sudo a2enmod passenger
sudo apache2ctl restart



sudo apt-get install -y nginx-extras passenger

Then edit /etc/nginx/nginx.conf and add the following line within a http block:

include /etc/nginx/passenger.conf;

Then restart nginx:

sudo service nginx restart

Brightbox Ubuntu Packages

We provide Ruby ubuntu packages, to allow easy installation of older and modern versions of Ruby.

Last updated: 13 Jan 2017 at 12:50 UTC

Try Brightbox risk-free with £20 free credit Sign up takes just two minutes...