Adding offline and configuration instructions

pull/199/head
Benjamin Chodroff 2021-01-29 21:20:41 +08:00
parent d0fdc57c7f
commit 330a1241d9
1 changed files with 12 additions and 0 deletions

View File

@ -39,6 +39,18 @@ installed: /etc/systemd/system/v2ray@.service
# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
```
### V2Ray 組態
1. 生成配置文件 [https://intmainreturn0.com/v2ray-config-gen](https://intmainreturn0.com/v2ray-config-gen/)
2. 將配置文件 config.json放入 /usr/local/etc/v2ray/config.json
### 離線安裝
在具有網絡下載限制的環境中,我們建議:
1. 從GitHub.com下載fhs-install-v2ray存儲庫作為zip文件。
2. 從以下位置下載v2ray-core發行zip文件 [https://github.com/v2fly/v2ray-core/releases](https://github.com/v2fly/v2ray-core/releases)
3. 將兩個zip文件都上傳到您的服務器
4. 解壓縮fhs-install-v2ray存儲庫zip文件
5. 運行安裝並將其指向本地v2ray-core zip文件```sudo bash install-release.sh --local /path/to/v2ray-linux-64.zip```
### 安裝最新發行的 geoip.dat 和 geosite.dat
```