readme 491 B

123456789101112131415
  1. 服务端:
  2. docker build -f Dockerfile -t sss .
  3. docker run -d --restart=always --name=sss -v {$path}/config.json:/ServerStatus/server/config.json -p {$port}:80 -p {$port}:35601 sss
  4. 客户端:
  5. 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={$SERVER} USER={$USER} PASSWORD={$PASSWORD} >/dev/null 2>&1 &
  6. 附: docker安装
  7. curl -sSL https://get.docker.com/ | sh