maandag 27 september 2010

Installing Passenger on CentOS (NGINX)

Installing passenger on CentOS doesn't seem to be documented on the Passenger website, so here is a small instruction.

If you don't have rails installed, install it first:
http://www.compuonline.info/2010/09/installing-ruby-on-rails-on-centos.html

Installing passenger:
$ yum -y install apr-devel gcc-c++ openssl-devel zlib-devel
$ gem install passenger
$ passenger-install-nginx-module

and follow the instructions.