This article is a mirror article of machine translation, please click here to jump to the original article.

View: 19746|Reply: 1

[Web] [Actual combat] Nginx 1.4.4 upgraded to 1.14.0

[Copy link]
Posted on 4/27/2018 12:56:15 PM | | | |
nginx -V command, as follows:

nginx version: nginx/1.4.4
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)
TLS SNI support enabled
configure arguments: --user=www --group=www --prefix=/alidata/server/nginx --with-http_stub_status_module --without-http-cache --with-http_ssl_module --with-http_gzip_static_ module


Since I want to install the "lua-nginx-module" module, I must upgrade the nginx version, the module requires the minimum version of nginx to be 1.6.0, and my 1.4.4 version error is as follows:

#error at least nginx 1.6.0 is required but found an older version


Simply, just upgrade the nginx version as well. I went to the nginx official website and looked at it, and the latest version is 1.14.0



Execute the following commands in turn:


Don't make install

Back up the previous ngxin file first





Stop the nginx service and upgrade nginx



Start directly entering nginx

View Version:





At this point, the upgrade is complete!




Previous:nginx adds third-party modules, as well as enabling modules that are natively supported by nginx
Next:CentOS nginx installation firewall ngx_lua_waf
Posted on 7/10/2018 9:55:04 PM |
nginx service backup, recompiled and installed
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com