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