nginx编译,解决没有用到openssl库的问题,基于centos7

  |   0 评论   |   0 浏览

参考链接

nginx下载地址:http://nginx.org/en/download.html
上传到opt/soft目录

cd /opt/soft
tar -zxvf nginx-1.17.0.tar.gz
cd nginx-1.17.0
yum install -y gcc
yum install -y pcre pcre-devel
yum install -y zlib zlib-devel
yum install -y openssl openssl-devel

 ./configure --with-http_ssl_module --with-pcre --with-stream --with-stream_ssl_module --with-http_ssl_module --with-http_v2_module --with-threads

null

配置汇总

make && make install

标题:nginx编译,解决没有用到openssl库的问题,基于centos7
作者:SmiteLi
地址:https://smite.site/articles/2019/12/26/1577363636621.html