修改了教程里的安装命令

This commit is contained in:
naocanmonster
2023-06-26 23:28:25 +08:00
parent d99ef04cf3
commit 2b8cadb7a4
4 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@
### 一键安装
```
curl -fsSLk https://waf-ce.chaitin.cn/release/latest/setup.sh | bash
bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/setup.sh)"
```
> 更多安装方式请参考 <a href="https://waf-ce.chaitin.cn/posts/guide_install">安装雷池</a>

View File

@@ -39,7 +39,7 @@ df -h # 查看磁盘信息
执行以下命令,即可开始安装
```
curl -fsSLk https://waf-ce.chaitin.cn/release/latest/setup.sh | bash
bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/setup.sh)"
```
> 如果连接 Docker Hub 网络不稳,导致镜像下载失败,可以采用 [离线安装](#离线安装) 方式

View File

@@ -13,7 +13,7 @@ order: 6
执行以下命令即可进行升级。
```
curl -kfLsS https://waf-ce.chaitin.cn/release/latest/upgrade.sh | bash
bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/upgrade.sh)"
```
[可选] 升级成功后, 可以执行以下命令删除旧版本 Docke 镜像, 以释放磁盘空间

View File

@@ -137,7 +137,7 @@ fi
compose_path=`$compose_command ls | grep safeline | awk '{print $3}'`
if [[ -z "$compose_path"]]; then
if [[ -z "$compose_path" ]]; then
abort "没有正在运行的雷池环境"
fi