reindent README
This commit is contained in:
parent
2435b3c2fd
commit
afb5b08dde
|
@ -1,7 +1,9 @@
|
|||
# Ubuntu 18.04 LTS 安裝 R4.5 標準流程
|
||||
|
||||
## 前置作業
|
||||
* Ubuntu 18.04 LTS 已安裝完畢並能遠端連線進入
|
||||
* 當前帳號可以使用 sudo 指令
|
||||
|
||||
## 安裝 Nginx 1.14
|
||||
```sh
|
||||
$ sudo apt update
|
||||
|
@ -13,6 +15,7 @@ $ cd /etc/nginx/
|
|||
$ sudo mkdir orbit_sites/
|
||||
$ sudo vim orbit_sites/xxx_ooo # 建立網站 nginx 設定檔,xxx 為學校縮寫,ooo 為系所、單位縮寫。內容參考附註 nginx 設定檔
|
||||
```
|
||||
|
||||
```nginx
|
||||
# 此為附註 nginx 設定檔
|
||||
# upstream xxx_sock {
|
||||
|
@ -99,4 +102,4 @@ $ RAILS_ENV=production bundle exec rake assets:precompile
|
|||
$ bundle exec unicorn_rails -c config/unicorn.rb -D -E production
|
||||
$ sudo service nginx restart
|
||||
$ # Login the new create site with rulingcom account and choose “Admin Area” to complete the registration of this new created site.
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue