Update nginx install info

This commit is contained in:
wmcheng 2020-03-01 01:39:58 +08:00
parent 9dc9c43414
commit 4f7a4fdabf
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ $ exit; exit # 第一次 exit 退回 root 帳號,第二次 exit 退回剛登
## 安裝 Nginx 1.14 ## 安裝 Nginx 1.14
```sh ```sh
$ sudo apt update $ sudo apt update
$ sudo apt install ngnix $ sudo apt install nginx
$ ngnix -v # 確認版本為 1.14 $ ngnix -v # 確認版本為 1.14
$ sudo systemctl status nginx # 查看 nginx 是否啟動 $ sudo systemctl status nginx # 查看 nginx 是否啟動
$ sudo systemctl restart nginx # 安全重啟 nginx若已啟動則可跳過此步驟 $ sudo systemctl restart nginx # 安全重啟 nginx若已啟動則可跳過此步驟