Update README.md
This commit is contained in:
parent
def090cdec
commit
e651866c1a
|
@ -24,7 +24,7 @@ $ sudo systemctl status nginx # 查看 nginx 是否啟動
|
||||||
$ sudo systemctl restart nginx # 安全重啟 nginx,若已啟動則可跳過此步驟
|
$ sudo systemctl restart nginx # 安全重啟 nginx,若已啟動則可跳過此步驟
|
||||||
$ cd /etc/nginx/
|
$ cd /etc/nginx/
|
||||||
$ sudo mkdir orbit_sites/
|
$ sudo mkdir orbit_sites/
|
||||||
$ vim nginx.conf # add `include /etc/nginx/orbit_sites/*;` to Virtual Host Configs block
|
$ sudo vim nginx.conf # add `include /etc/nginx/orbit_sites/*;` to Virtual Host Configs block
|
||||||
$ sudo vim orbit_sites/xxx_ooo # 建立網站 nginx 設定檔,xxx 為學校縮寫,ooo 為系所、單位縮寫。內容參考附註 nginx 設定檔
|
$ sudo vim orbit_sites/xxx_ooo # 建立網站 nginx 設定檔,xxx 為學校縮寫,ooo 為系所、單位縮寫。內容參考附註 nginx 設定檔
|
||||||
```
|
```
|
||||||
```nginx
|
```nginx
|
||||||
|
@ -89,7 +89,7 @@ $ sudo apt install gnupg2
|
||||||
$ gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
|
$ gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
|
||||||
$ \curl -sSL https://get.rvm.io | bash -s stable
|
$ \curl -sSL https://get.rvm.io | bash -s stable
|
||||||
$ source /home/rulingcom/.rvm/scripts/rvm
|
$ source /home/rulingcom/.rvm/scripts/rvm
|
||||||
# $ sudo sudo vi /etc/apt/sources.list # Ubuntu 20.04LTS add `deb http://security.ubuntu.com/ubuntu bionic-security main`
|
$ sudo vi /etc/apt/sources.list # Ubuntu 20.04LTS add `deb http://security.ubuntu.com/ubuntu bionic-security main`
|
||||||
$ rvm install 2.1.2
|
$ rvm install 2.1.2
|
||||||
$ rvm install 2.1.10
|
$ rvm install 2.1.10
|
||||||
$ rvm --default use 2.1.10
|
$ rvm --default use 2.1.10
|
||||||
|
|
Loading…
Reference in New Issue