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
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
