diff --git a/README.md b/README.md index 04dc65d..dfde0df 100644 --- a/README.md +++ b/README.md @@ -66,13 +66,13 @@ pm2 start index.js --name easynode-server > 安装 ```shell -curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash +curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash ``` > 卸载 ```shell -curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash +curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash ``` > 查看监控服务状态:`systemctl status easynode-client` diff --git a/client/easynode-client-install.sh b/client/easynode-client-install.sh index f3c90d6..4a89303 100644 --- a/client/easynode-client-install.sh +++ b/client/easynode-client-install.sh @@ -9,7 +9,7 @@ SERVER_NAME=easynode-client FILE_PATH=/root/local/easynode-client SERVICE_PATH=/etc/systemd/system CLIENT_VERSION=client-2024-08-17 # 目前监控客户端版本发布需手动更改为最新版本号 -SERVER_PROXY="https://mirror.ghproxy.com/" +SERVER_PROXY="https://ghp.ci/" echo "***********************开始安装EasyNode监控客户端端,当前版本号: ${CLIENT_VERSION}***********************" diff --git a/server/app/config/shell.json b/server/app/config/shell.json index 272549a..cfbd55d 100644 --- a/server/app/config/shell.json +++ b/server/app/config/shell.json @@ -1,12 +1,12 @@ [ { "name": "easynode监控服务安装", - "command": "curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash", + "command": "curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash", "description": "easynode-监控服务-安装脚本" }, { "name": "easynode监控服务卸载", - "command": "curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash", + "command": "curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash", "description": "easynode-监控服务-卸载脚本" }, { diff --git a/web/src/views/onekey/index.vue b/web/src/views/onekey/index.vue index 75513f4..ebe86ac 100644 --- a/web/src/views/onekey/index.vue +++ b/web/src/views/onekey/index.vue @@ -411,7 +411,7 @@ onActivated(async () => { const { hostIds, execClientInstallScript } = route.query if (!hostIds) return if (execClientInstallScript === 'true') { - let clientInstallScript = 'curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' + let clientInstallScript = 'curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' console.log(hostIds.split(',')) createExecShell(hostIds.split(','), clientInstallScript, 300) // $messageBox.confirm(`准备安装客户端服务监控应用:${ host }`, 'Warning', { @@ -420,7 +420,7 @@ onActivated(async () => { // type: 'warning' // }) // .then(async () => { - // let clientInstallScript = 'curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' + // let clientInstallScript = 'curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' // createExecShell([host,], clientInstallScript, 300) // }) }