Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit a990c0e

Browse files
Update cluster.md
适配新版v2ray配置
1 parent eef2e13 commit a990c0e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cluster.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# 安装必要软件
2121
apt install vim nginx openjdk-8-jre wget unzip -y
2222
# 安装v2ray -来源官网
23-
bash <(curl -L -s https://install.direct/go.sh)
23+
bash <(curl -L -s https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
2424

2525
```
2626
- CentOS
@@ -32,7 +32,7 @@
3232
# 安装必要软件
3333
yum install vim nginx java-1.8.0-openjdk wget unzip -y
3434
# 安装v2ray -来源官网
35-
bash <(curl -L -s https://install.direct/go.sh)
35+
bash <(curl -L -s https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
3636
```
3737

3838
#### 2. 配置nginx
@@ -113,10 +113,10 @@ nginx -s reload
113113

114114
```bash
115115
# 备份v2ray默认配置
116-
mv /etc/v2ray/config.json /etc/v2ray/config.json.bak
117-
116+
mv /usr/local/etc/v2ray/config.json /usr/local/etc/v2ray/config.json.bak
117+
118118
# 复制配置到v2ray目录
119-
cp /opt/jar/config.json /etc/v2ray/
119+
cp /opt/jar/config.json /usr/local/etc/v2ray/
120120

121121
# 重启v2ray
122122
service v2ray restart

0 commit comments

Comments
 (0)