原文地址nginx
源碼:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/.net
cd /usr/local/src wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.gz tar -zxvf pcre-8.37.tar.gz cd pcre-8.37 ./configure make make install
源碼:http://zlib.net/zlib-1.2.8.tar.gzcode
wget http://zlib.net/zlib-1.2.8.tar.gz tar -zxvf zlib-1.2.8.tar.gz cd zlib-1.2.8 ./configure make make install
cd /usr/local/src wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz tar -zxvf openssl-1.0.1c.tar.gz
wget http://nginx.org/download/nginx-1.9.1.tar.gz tar xzf nginx-1.9.1.tar.gz cd nginx-1.9.1 --配置 ./configure --prefix=/usr/local/nginx \ --with-http_stub_status_module \ --with-http_ssl_module \ --with-pcre=/usr/local/src/pcre-8.37 \ --with-zlib=/usr/local/src/zlib-1.2.8 \ --sbin-path=/usr/local/nginx/nginx \ --conf-path=/usr/local/nginx/nginx.conf \ --pid-path=/usr/local/nginx/nginx.pid \ --with-openssl=/usr/local/src/openssl-1.0.1c
make make install