升級nginx到穩定版本1.14.1


 1、解壓1.14.1.tar.gz
2、進入nginx-1.14.1目錄
3、./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --without-http-cache --with-http_ssl_module --with-http_gzip_static_module
4、make
5、修改原nginx的運行文件(備份)
6、將nginx-1.14.1/objs/nginx  拷貝到 nginx/sbin下
7、./nginx -t 試運行  報錯[www] 
8、修改nginx.conf  將user nobody注釋去掉
9、再次試運行 successful
10、./nginx -v 查看版本號 確認沒問題
11、kill或停止原nginx的線程
12、啟動NGINX  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM