🎉 Announcing new lower pricing — up to 40% lower costs for Cloud Servers and Cloud SQL! Read more →

Contents

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://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
sudo apt-get install -y apt-transport-https ca-certificates
sudo add-apt-repository https://oss-binaries.phusionpassenger.com/apt/passenger
sudo apt-get update

Apache

For Apache:

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

NGINX

For NGINX:

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:49 UTC

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