Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Configure Nginx in Windows environment

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Operating system: Windows Server 2008 R2 Standard

Virtual machine: VMware Workstation

Task: configure the Nginx environment

Nginx currently provides both Linux and Windows versions, but the current Windows version is not commonly used in production environments.

Procedure:

1. Download the Nginx Windows version

Https://nginx.org/en/download.html

Https://nginx.org/download/nginx-1.14.2.zip

two。 Decompress

3. Start and stop the Nginx service

Double-click nginx.exe to start the program

Or C:\ Program Files\ nginx-1.14.2 > nginx.exe

C:\ Program Files\ nginx-1.14.2 > nginx.exe-s stop / / stop nginx

C:\ Program Files\ nginx-1.14.2 > nginx- s reload / / reload the configuration file

4. The use of two commands

Use cmd command line tool to execute tasklist command to view the process

Use the netstat-ano command to view the usage of the current port

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report