1、下載:直接上下載安裝包:這里是nginx-1.16.1.zip
- http://nginx.org/download/nginx-1.16.1.zip
2、安裝:安裝到一個沒有中文路徑的檔案夾下 (注意:安裝路徑必須不能有中文,否則會報錯)
3、Nginx啟動:
- 復制你的nginx檔案所在路徑
- win+R 快捷鍵 搜索cmd 回車進入
- 進入你所下載的nginx檔案的位置,如果下載在C盤,可以直接:cd 復制的路徑
- 若是在D盤,可以先轉到D盤 輸入 d:
- nginx.exe 回車
- 打開瀏覽器:http://localhost
-
Welcome to nginx! If you see this page, the nginx web server is successfully installed and working. Further configuration is required. ? For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com. ? Thank you for using nginx.
(注意:在下載完nginx檔案之后,也可以找到檔案所在位置,直接cmd進入)

之后之后回車,就進入了nginx所在位置啦 !!!
so easy啦~~~
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/292307.html
標籤:其他
