nginx installation integrated openssl

cd /usr/local/install/plugins

 

wget https://www.openssl.org/source/openssl-1.1.0c.tar.gz

wget http://120.52.73.43/jaist.dl.sourceforge.net/project/pcre/pcre/8.38/pcre-8.38.tar.gz

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

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

 

tar -zxf nginx-1.10.2.tar.gz

tar -zxf pcre-8.38.tar.gz

tar -zxf zlib-1.2.8.tar.gz

tar -zxf openssl-1.1.0c.tar.gz

 

 

 

cd /usr/local/install/plugins/nginx-1.10.2

./configure --prefix=/home/ngx/nginx --pid-path=/home/ngx/nginx/nginx.pid --error-log-path=/home/ngx/log/error.log --http-log-path=/home/ngx/log/access.log --with-http_ssl_module --with-pcre=/usr/local/install/plugins/pcre-8.38 --with-zlib=/usr/local/install/plugins/zlib-1.2.8 --with-openssl=/usr/local/install/plugins/openssl-1.1.0c

 

make

make install

 

/ home / ngx / nginx / sbin / nginx -V

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326512762&siteId=291194637