Enterprise Passenger

In this chapter, we will see how to install Phusion Passenger 4.0.45 Enterprise Edition using Moonshine in Ubuntu 12.04. The process is the same even if the version is different.

Steps

Step 1

Login to phusion passenger account.

Step 2

Download the license.

Step 3

Move the license file to:

vendor/plugins/moonshine/lib/moonshine/manifest/rails/templates

file. The name of the file is the same as the downloaded file name which is passenger-enterprise-license.

Step 4

Add the following to the moonshine.yml file:

:passenger:
  :max_pool_size: 3
  :version: 4.0.45 # This is 2 versions behind because according to the moonshine source code, this is the blessed version.
  :enterprise: true
  :download_token: copy-your-download-token-from-passenger-account-here
  :rolling_restarts: true

Step 5

Check in the code to bitbucket and do:

cap deploy

Summary

In this chapter, you learned how to install Passenger Enterprise edition using Moonshine.