linux服务器监控

    0

在线演示 https://tz.cloudcpp.com/

服务端安装

  1. 获取配置文件
bash
wget https://raw.githubusercontent.com/cppla/ServerStatus/master/autodeploy/config.json
  1. 修改相关配置
  2. 启动docker
bash
docker run -d --restart=always --name=serverstatus -v ~/config.json:/ServerStatus/server/config.json -p 80:80 -p 35601:35601 cppla/serverstatus:latest

客户端安装

bash
wget --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 &

附录

评论区
共有评论 0
暂无评论