Skip to content

Instantly share code, notes, and snippets.

View ruyrocha's full-sized avatar

Ruy Rocha ruyrocha

  • Anywhere with internet connection.
View GitHub Profile
@ruyrocha
ruyrocha / gist:772318
Created January 10, 2011 03:42
install nginx on centos using passenger
First, create nginx user account:
useradd -c 'Nginx user' -d /var/lib/nginx -s /bin/false nginx
Then download nginx and nginx-upstream-fair* module sources:
cd /usr/src
wget http://sysoev.ru/nginx/nginx-0.8.53.tar.gz
wget --no-check-certificate http://github.com/gnosek/nginx-upstream-fair/tarball/master
Extract those files and you'll got two directories:
/usr/src/nginx-0.8.53