Skip to content

Instantly share code, notes, and snippets.

@glassesfactory
Created August 29, 2011 16:24
Show Gist options
  • Save glassesfactory/1178760 to your computer and use it in GitHub Desktop.
Save glassesfactory/1178760 to your computer and use it in GitHub Desktop.
nginx 1.0.6 install shell!
#!/bin/sh
NGINX=nginx-1.0.6
cd $NGINX
./configure \
--prefix=/usr/local/$NGINX \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--pid-path=/var/run/nginx/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--user=nginx \
--group=nginx \
--with-http_stub_status_module \
--with-http_ssl_module \
--with-http_gzip_static_module \
--with-http_realip_module \
--with-http_dav_module \
--with-http_flv_module \
--http-log-path=/var/log/nginx/access.log \
--http-client-body-temp-path=/var/tmp/nginx/client/ \
--http-proxy-temp-path=/var/tmp/nginx/proxy/ \
--http-fastcgi-temp-path=/var/tmp/nginx/fcgi/
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment