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--
1. Download nginx
Download the window version of nginx from the official website.
Http://nginx.org/
two。 Configure environment variables
Decompress to a local path
Open the cmd window, cd to the directory of nginx
Note that you need to add the / d parameter to cd, otherwise you may not be able to switch it.
Then execute nginx-v to see the version of nginx
3. Configure nginx
Find the conf/nginx.conf file in the nginx directory
Open the file and modify the following configuration
One is to change the port number to 8080, and the other is to specify the location of the website as f:\ nginx-1.12.2\ html
4. Start nginx
Execute nginx directly from the cmd command line to start nginx
5. Access the default page
After Nginx starts, visit http://localhost:8080 in the browser and you can see the default welcome page.
At this point, the nginx configuration under window is complete.
More commands can be viewed with nginx-h
The explanation of each parameter is more popular, so it will not be explained one by one.
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.