doc: update the install and upgrade

This commit is contained in:
yrluke
2024-01-05 19:04:47 +08:00
committed by GitHub
parent cd13c08a2f
commit dad3deb482
2 changed files with 14 additions and 19 deletions

View File

@@ -20,17 +20,14 @@ title: "安装雷池"
```sh
bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/setup.sh)"
```
<!--
## 在线安装 Beta 版
**注意**:
1. 不要在生产环境中使用 beta 版
2. beta 版仅支持在线安装和更新
如果需要使用华为云加速,可使用
```sh
bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/beta/setup.sh)"
``` -->
CDN=1 bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/setup.sh)"
```
如果需要安装最新版本流式检测模式,可使用
```sh
STREAM=1 bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/setup.sh)"
```
**若安装失败,请参考 [安装问题](/faq/install)**

View File

@@ -24,16 +24,14 @@ docker rmi $(docker images | grep "safeline" | grep "none" | awk '{print $3}')
> 有部分环境的默认 SafeLine 安装路径是在 `/data/safeline-ce`,安装之后可能会发现需要重新绑定 OTP、配置丢失等情况可以修改 .env 的 `SAFELINE_DIR` 变量,指向 `/data/safeline-ce`
<!-- ## 在线升级 Beta 版
**注意**:
1. 稳定版与 beta 版的升级脚本不通,注意区分
2. beta 版仅支持在线安装和更新
如果需要使用华为云加速,可使用
```sh
bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/beta/upgrade.sh)"
``` -->
CDN=1 bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/upgrade.sh)"
```
如果需要升级到最新版本流式检测模式,可使用
```sh
STREAM=1 bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/upgrade.sh)"
```
## 离线镜像