1.下载nginx

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

Nginx使用教程(window&Linux)

 

2.启动

由于本地有iss监听80,修改nginx配置,监听7000吧

Nginx使用教程(window&Linux)

 

 

打开cmd命令窗口,切换到nginx解压目录下,输入命令 nginx.exe 或者 start nginx ,回车即可,浏览器localhost:7000

Nginx使用教程(window&Linux)

 

Nginx使用教程(window&Linux)

 

3.闭nginx

 nginx -s stop(快速停止nginx)  或  nginx -s quit(完整有序的停止nginx)

参考:

https://www.runoob.com/w3cnote/nginx-install-and-config.html

https://www.cnblogs.com/jiangwangxiang/p/8481661.html

 

相关文章:

  • 2021-12-22
  • 2022-12-23
  • 2021-08-23
  • 2022-01-22
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-01-06
猜你喜欢
  • 2021-08-27
  • 2021-10-05
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
  • 2021-04-14
  • 2021-12-16
相关资源
相似解决方案