In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the relevant knowledge of "how to achieve nginx non-coverage upgrade". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Overlay upgrade:
Upgrade purpose: websocket is supported after the nginx1.3 version, and your websocket can work properly with a simple proxy.
For the existing nginx non-overlay upgrades, the details are as follows:
Download nginx
Decompress and compile
Backup and copy the original configuration file
Shut down the existing service and start the new service
If you have weget$ weget http://nginx.org/download/nginx-1.8.0.tar.gz or visit http://nginx.org/en/download.html to recommend 1.8.0 stable version $tar-zxvf nginx-1.8.0.tar.gz$ cd nginx-1.8.0 $. / configure-- prefix=/usr/local/nginx-1.8.0Mac OX, you may be able to pass. But if it may be reported under Ubuntu that the PCRE dependency package does not have so, you can do the following: after $apt-get install libpcre3 libpcre3-dev is successful, you can install $make & & make install so that you have successfully installed a nginx under your / usr/local/nginx-1.8.0 without conflict with the original $cd / usr/local/nginx-1.8.0$ ls-lrtdrwxr-xr-x 2 root root 4096 Aug 17 10:32 sbindrwxr-xr-x 2 root root 4096 Aug 17 10:32 htmldrwxr-xr-x 2 root root 4096 Aug 17 10:35 logsdrwx- 2 www-data root 4096 Aug 17 10:35 uwsgi_tempdrwx- 2 www-data root 4096 Aug 17 10:35 scgi_tempdrwx- 2 www-data root 4096 Aug 17 10:35 fastcgi_tempdrwxr-xr-x 5 root root 4096 Aug 17 19:49 confdrwx- 12 www-data root 4096 Aug 17 22:37 proxy_tempdrwx- 2 www-data root 4096 Aug 17 22:46 client_body_templdd nginx can see that it does not have its own .so dependency file ldd / usr/local/nginx-1.8.0/sbin/nginx (ubuntu) otool-L ~ / dwetl/nginx1.8.0/sbin/nginx (Mac OX) and then close & back up echo 'stop nginx.' service nginx stopecho'cp config file such as the existing nginx configuration file. 'cp / etc/nginx/nginx.conf / usr/local/nginx-1.8.0/conf/cp-r / etc/nginx/conf.d/ / usr/local/nginx-1.8.0/conf/echo 'upgrade nginx.'mv / usr/sbin/nginx / usr/sbin/nginx1.1.19 # what if something goes wrong with the previous nginx Leave a way back ln-s / usr/local/nginx-1.8.0/sbin/nginx / usr/sbin/nginxecho 'restart nginx.'service nginx restart to easily deal with "how to achieve nginx non-overlay upgrade" content is introduced here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope

Open the conf directory of tomcat, find server.xml, edit the place where you can find the port number, and add the following content
Wechat
About us
Contact us
Product review
car news
thenatureplanet
More Form oMedia:
AutoTimes.
Bestcoffee.
SL News.
Jarebook.
Coffee Hunters.
Sundaily.
Modezone.
NNB.
Coffee.
Game News.
FrontStreet.
GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.