Skip to content

Instantly share code, notes, and snippets.

@thomaspeklak
Created October 29, 2009 21:11
Show Gist options
  • Save thomaspeklak/221834 to your computer and use it in GitHub Desktop.
Save thomaspeklak/221834 to your computer and use it in GitHub Desktop.
cd ~
mkdir nginx
cd nginx
wget http://sysoev.ru/nginx/nginx-0.7.63.tar.gz
curl -L -O http://dfn.dl.sourceforge.net/project/pcre/pcre/8.00/pcre-8.00.tar.gz
tar xzfv nginx-0.7.63.tar.gz
tar xzfv pcre-8.00.tar.gz
cd nginx-0.7.63
./configure --prefix=/opt/nginx --with-http_ssl_module --with-pcre=../pcre-8.00 --add-module=/opt/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/ext/nginx
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment