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

原文地址:https://www.cnblogs.com/wzf365/p/6377283.html