nginx 安装

 

wget http://zlib.net/zlib-1.2.11.tar.gz

wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.40.zip

https://www.openssl.org/source/old/1.0.1/openssl-1.0.1p.tar.gz

wget http://nginx.org/download/nginx-1.8.1.tar.gz

./configure --sbin-path=/usr/local/nginx/nginx \
--conf-path=/usr/local/nginx/nginx.conf \
--pid-path=/usr/local/nginx/nginx.pid \
--with-http_ssl_module \
--with-pcre=/usr/local/src/pcre-8.40 \
--with-zlib=/usr/local/src/zlib-1.2.11 \
--with-openssl=/usr/local/src/openssl-1.0.1p

posted @ 2017-02-08 11:06  三六五  阅读(73)  评论(0编辑  收藏  举报