完善和修改README

This commit is contained in:
CN-JS-HuiBai
2026-04-16 21:13:07 +08:00
parent dc9b2320ad
commit 830944682f
2 changed files with 72 additions and 7 deletions

View File

@@ -51,6 +51,7 @@
- `/etc/sing-box/config.d/10-base.json`
- `/etc/sing-box/config.d/route.json`
- `/etc/sing-box/config.d/outbound.json`
- 旧版如果遗留 `/etc/sing-box/config.d/20-outbounds.json`,请不要与 `outbound.json` 同时保留,否则可能出现重复 outbound tag 导致启动失败
- 安装后的服务名为:
- `singbox.service`
@@ -71,17 +72,13 @@
### 1. 编译并安装
在 Linux 服务器上进入仓库目录
在 Linux 服务器上执行脚本
```bash
curl -fsSL https://s3.cloudyun.top/downloads/singbox/install.sh | bash
```
`install.sh` 默认会从 `https://s3.cloudyun.top/downloads/singbox` 下载对应架构的预编译 `sing-box` 二进制,再继续进入面板和服务配置流程。
升级已安装的 sing-box
```bash
curl -fsSL https://s3.cloudyun.top/downloads/singbox/update.sh | bash
该脚本同时具有更新的功能
```
`update.sh` 会从同一发布地址下载对应架构的 `sing-box` 二进制,并自动重启已检测到的 `singbox` 或 `sing-box` 服务。