add nginx configure
This commit is contained in:
parent
f51a5e5de6
commit
123eb8462e
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue