-
准备FQ设置
systemctl start privoxy v2ray -c ./config.json
-
切换到指定版本的dapr cli
-
切换使用FQ的HTTP代理
export http_proxy=http://127.0.0.1:8118 export https_proxy=http://127.0.0.1:8118
-
升级到最新版本
wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash
-
或者切换到指定版本,可以切换的版本可以到
https://github.com/dapr/cli/releases/
去查看wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash -s [version]
-
-
删除旧版本的dapr runtime
dapr uninstall --all
-
切换到指定版本的dapr runtime
- 升级到最新版本的dapr runtime
dapr init --slim
- 或者切换到指定版本的dapr runtime
dapr init --slim --runtime-version [version]
- 升级到最新版本的dapr runtime
-
升级完后清理环境
unset http_proxy unset https_proxy systemctl stop privoxy
暂无评论