add nginx configure

This commit is contained in:
Guobao Jiang 2014-01-24 12:49:35 +08:00
parent f51a5e5de6
commit 123eb8462e
2 changed files with 32 additions and 0 deletions

View File

@ -15,5 +15,6 @@ Aborn Jiang (aborn.jiang@gmail.com)
## VERSION
* 2014-01-21 v0.1 (add rsync configure files)
* 2014-01-22 v0.2 (add .rc and elisp files)
* 2014-01-24 v0.3 (add nginx configure fiels)

31
nginx/install.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
###############################################################
## NAME
## install.sh install nginx in server
##
## USAGE
## ./install.sh
###############################################################
## following is recommanded configure and modules.
./configure \
--prefix=/home/aborn/nginx \
--sbin-path=/home/aborn/nginx/sbin/nginx \
--conf-path=/home/aborn/nginx/conf/nginx.conf \
--pid-path=/home/aborn/nginx/pid/nginx.pid \
--error-log-path=/home/aborn/nginx/log/error.log \
--http-log-path=/home/aborn/nginx/log/access.log \
--user=aborn --group=aborn \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-pcre=/home/aborn/sw/pcre-8.34 \
--with-zlib=/home/aborn/sw/zlib-1.2.8 \
--with-openssl=/home/aborn/sw/openssl-1.0.1c
## compile nginx form source code
make
## install nginx
make install