小雨点点789 发表于 2018-11-16 12:29:51

​nginx依赖模块pcre、zlib、openssl 安装

cd pcre-8.41/  ./configure
  make && make install
  cd ../zlib-1.2.11/
  ./configure
  make && make install
  cd ../openssl-1.1.0f/
  ./config
  make && make install
  cd ../nginx-1.12.2/
  ./configure \
  --prefix=/usr/local/nginx/ \
  --with-http_stub_status_module \
  --with-http_sub_module \
  --with-http_gzip_static_module \
  --with-pcre=../pcre-8.41 \
  --with-zlib=../zlib-1.2.11 \
  --with-openssl=../openssl-1.1.0f \
  --with-http_secure_link_module \
  --with-http_random_index_module \
  --with-http_ssl_module \
  --with-http_realip_module \
  --with-http_addition_module \
  --with-http_gzip_static_module \
  --with-cc-opt=-O3 \
  --with-http_gunzip_module \
  --with-http_random_index_module \
  --with-http_secure_link_module \
  --with-http_auth_request_module \
  --with-threads \
  --with-stream_ssl_module \
  --with-http_slice_module \
  --with-file-aio \
  --with-http_v2_module \
  --without-mail_pop3_module \
  --without-mail_imap_module \
  --without-mail_smtp_module
  make && make install

页: [1]
查看完整版本: ​nginx依赖模块pcre、zlib、openssl 安装