fixed 443 error | 把资源获取修改成国内也可以下载的路径

pull/189/head
itgoyo 2022-10-12 17:12:35 +08:00
parent a788b5da90
commit b05b029e1d
1 changed files with 49 additions and 43 deletions

View File

@ -36,10 +36,16 @@ docker run -d --restart=always --name=serverstatus -v ~/serverstatus-config.json
【客户端】:
```bash
wget --no-check-certificate -qO client-linux.py 'https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py' && nohup python3 client-linux.py SERVER={$SERVER} USER={$USER} PASSWORD={$PASSWORD} >/dev/null 2>&1 &
wget -N --no-check-certificate https://cdn.jsdelivr.net/gh/itgoyo/PicGoRes@master/status.sh && chmod +x status.sh && bash status.sh c
```
如果以上命令提示没有权限的话,下载完`status.sh`自己手动`sudo bash status.sh c`运行也是一样的
```
wget --no-check-certificate -qO client-linux.py 'https://cdn.jsdelivr.net/gh/itgoyo/PicGoRes@master/clients/client-linux.py' && nohup python3 client-linux.py SERVER={$SERVER} USER={$USER} PASSWORD={$PASSWORD} >/dev/null 2>&1 &
```
```
eg:
wget --no-check-certificate -qO client-linux.py 'https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py' && nohup python3 client-linux.py SERVER=45.79.67.132 USER=s04 >/dev/null 2>&1 &
wget --no-check-certificate -qO client-linux.py 'https://cdn.jsdelivr.net/gh/itgoyo/PicGoRes@master/clients/client-linux.py' && nohup python3 client-linux.py SERVER=45.79.67.132 USER=s04 >/dev/null 2>&1 &
```
# 手动安装教程: