Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxilu authored Jul 26, 2021
1 parent 942ac7f commit e473b73
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@
bash <(curl -Ls https://raw.githubusercontent.com/sprov065/x-ui/master/install.sh)
```

## 手动安装&升级
1. 首先从 https://github.com/sprov065/x-ui/releases 下载最新的压缩包,一般选择`amd64`架构
2. 然后将这个压缩包上传到服务器的`/root/`目录下,并使用`root`用户登录服务器

> 如果你的服务器 cpu 架构不是`amd64`,自行将命令中的`amd64`替换为其他架构
```
cd /root/
rm x-ui/ /usr/local/x-ui/ /usr/bin/x-ui -rf
tar zxvf x-ui-linux-amd64.tar.gz
chmod +x x-ui/x-ui x-ui/bin/xray-linux-* x-ui/x-ui.sh
cp x-ui/x-ui.sh /usr/bin/x-ui
cp -f x-ui/x-ui.service /etc/systemd/system/
mv x-ui/ /usr/local/
systemctl daemon-reload
systemctl enable x-ui
systemctl restart x-ui
```

## 建议系统
- CentOS 7+
- Ubuntu 16+
Expand Down

0 comments on commit e473b73

Please sign in to comment.