99精品国产综合久久久久五月天,免费观看欧美大片毛片不用播放器 ,AV无码理论片在线观看免费网站,国产精品国产成人国产三级

Board logo

標(biāo)題: [BUG反饋] nginx 如何升級(jí)到 1.13.3或以上版本 [打印本頁(yè)]

作者: oorgo    時(shí)間: 2018-8-2 08:23     標(biāo)題: nginx 如何升級(jí)到 1.13.3或以上版本

nginx 如何升級(jí)到 1.13.3或以上版本
作者: wangyouworld    時(shí)間: 2018-8-7 11:10

本帖最后由 wangyouworld 于 2018-8-7 11:14 編輯

升級(jí)的前提:
確定 WDCP Nginx編譯參數(shù),之后,下載新版,重新編譯即可。

==================================
【升級(jí)Nginx 1.14.0】

1、查詢 WDCP 編譯參數(shù)
/www/wdlinux/nginx/sbin/nginx -V

示例:
--user=www --group=www --prefix=/www/wdlinux/nginx-1.8.1 --with-http_stub_status_module --with-ipv6 --with-http_gzip_static_module --with-http_realip_module --with-http_ssl_module
// openssl 不生效 需要指定 openssl 源碼目錄
// --with-openssl=/tmp/openssl-1.0.2o/

2、下載 Nginx 1.14.0
cd /tmp
wget https://nginx.org/download/nginx-1.14.0.tar.gz
tar zxf nginx-1.14.0.tar.gz
cd nginx-1.14.0
# 留意,你需要移除 --with-ipv6 選項(xiàng),因?yàn)?在 1.11.5 后將自動(dòng)配置 IPV6
示例:
./configure --user=www --group=www --prefix=/www/wdlinux/nginx-1.8.1 --with-http_stub_status_module --with-http_gzip_static_module --with-http_realip_module --with-http_ssl_module --with-openssl=/tmp/openssl-1.0.2o/  --with-http_v2_module

make

make install

service nginxd restart
作者: Miker    時(shí)間: 2018-8-7 13:04


作者: oorgo    時(shí)間: 2018-8-16 08:19

回復(fù) 2# wangyouworld


   謝謝!。。。。。。。。!




歡迎光臨 WDlinux官方論壇 (http://fudaan.com/bbs/) Powered by Discuz! 7.2