(本页仅作为个人笔记参考)

为openssl,zlib,pcre配置编译

wget http://om88fxbu9.bkt.clouddn.com/package/nginx/nginx-1.11.10.tar.gz

wget http://om88fxbu9.bkt.clouddn.com/package/nginx/openssl-1.1.0e.tar.gz

wget http://om88fxbu9.bkt.clouddn.com/package/nginx/zlib-1.2.11.tar.gz
wget http://om88fxbu9.bkt.clouddn.com/package/nginx/pcre-8.40.tar.gz

 

./configure --prefix=/home/sy/lnmp/local/nginx --sbin-path=/home/sy/lnmp/nginx --
conf-path=/home/sy/lnmp/nginx/conf/nginx.conf --pid-path=/home/sy/lnmp/nginx/logs/nginx.
pid --with-http_ssl_module --with-pcre=/home/sy/lnmp/pcre-8.40 --with-zlib=/home/sy/lnmp
/zlib-1.2.11 --with-openssl=/home/sy/lnmp/openssl-1.1.0e

http://www.linuxidc.com/Linux/2016-08/134080.htm

posted on 2017-07-03 11:11  cyqAkin  阅读(194)  评论(0编辑  收藏  举报