In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Modify the nginx.conf configuration file as follows:
Server {listen 9000; # Port server_name localhost; # Service name charset utf-8; # avoid garbled Chinese characters in the root index directory shown in root E:\ Download\ java; #. Please change it to your own directory where location / {autoindex on; # enables the indexing function autoindex_exact_size off # turn off the exact size of the calculation file (in bytes), and only display the approximate size (in kb, mb, gb) autoindex_localtime on; # display native time instead of GMT time}}
two。 Start, stop, and reload the nginx command:
1) start nginx:
C:\ server\ nginx-1.0.2 > start nginx
Or
C:\ server\ nginx-1.0.2 > nginx.exe
Note: it is recommended to use the first and the second will keep your cmd window running all the time and no other command operations can be performed.
2) stop nginx:
C:\ server\ nginx-1.0.2 > nginx.exe-s stop
Or
C:\ server\ nginx-1.0.2 > nginx.exe-s quit
Note: stop is to quickly stop nginx and may not save relevant information; quit is to stop nginx in a complete and orderly manner and save relevant information.
3) reload nginx
C:\ server\ nginx-1.0.2 > nginx.exe-s reload
Use this command when configuration information is modified and these configurations need to be reloaded.
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
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.