In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Nginx is written in C and needs to be compiled in GCC
PCRE will be used by Nginx's Rewrite and HTTP modules
Gzip in Nginx uses zlib
Wget http://nginx.org/download/nginx-1.13.0.tar.gz
Tar-zxvf nginx-1.13.0.tar.gz
. / configure
Make
Make install
The default installation path is: / usr/local/nginx
Jump to its directory / usr/local/nginxsbin path:
. / nginx
. / nginx-s stop
. / nginx-s quit
. / nginx-s reload
. / nginx-s quit: in this way, the stop step is to stop after the nginx process has finished processing the task.
. / nginx-s stop: this method is equivalent to finding out the nginx process id and then using the kill command to force the killing of the process.
Query nginx process: ps aux | grep nginx
1. Stop and then start (recommended):
Restarting nginx is equivalent to stopping and then starting, that is, executing the stop command before the startup command. As follows:
. / nginx-s quit
. / nginx
two。 Reload the configuration file:
When nginx's configuration file nginx.conf is modified, you need to restart nginx for the configuration to take effect. You can use-s reload to take effect in nginx without first stopping nginx and then starting nginx, as shown below:
. / nginx-s reload
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.