Update nginx install info
This commit is contained in:
parent
9dc9c43414
commit
4f7a4fdabf
|
@ -18,7 +18,7 @@ $ exit; exit # 第一次 exit 退回 root 帳號,第二次 exit 退回剛登
|
|||
## 安裝 Nginx 1.14
|
||||
```sh
|
||||
$ sudo apt update
|
||||
$ sudo apt install ngnix
|
||||
$ sudo apt install nginx
|
||||
$ ngnix -v # 確認版本為 1.14
|
||||
$ sudo systemctl status nginx # 查看 nginx 是否啟動
|
||||
$ sudo systemctl restart nginx # 安全重啟 nginx,若已啟動則可跳過此步驟
|
||||
|
|
Loading…
Reference in New Issue