mirror of
https://github.com/chaitin/SafeLine.git
synced 2026-02-14 20:53:55 +08:00
修改了教程里的安装命令
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 网络不稳,导致镜像下载失败,可以采用 [离线安装](#离线安装) 方式
|
||||
|
||||
@@ -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 镜像, 以释放磁盘空间
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user