服务端安装
- 获取配置文件
bashwget https://raw.githubusercontent.com/cppla/ServerStatus/master/autodeploy/config.json
- 修改相关配置
- 启动docker
bashdocker run -d --restart=always --name=serverstatus -v ~/config.json:/ServerStatus/server/config.json -p 80:80 -p 35601:35601 cppla/serverstatus:latest
客户端安装
bashwget --no-check-certificate -qO client-linux.py 'https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py' && nohup python client-linux.py SERVER=45.79.67.132 USER=s04 >/dev/null 2>&1 &