mirror of
https://github.com//cppla/ServerStatus
synced 2025-06-02 13:49:49 +08:00
update readme 2
This commit is contained in:
parent
74eed91f07
commit
1cc13d337f
@ -1,9 +1,13 @@
|
||||
服务端:
|
||||
|
||||
curl -sSL https://get.docker.com/ | sh #一键安装docker
|
||||
docker build -f Dockerfile -t sss .
|
||||
docker run -d --restart=always --name=sss -v {$path}/config.json:/ServerStatus/server/config.json -p {$port}:80 -p {$port}:35601 sss
|
||||
|
||||
客户端:
|
||||
|
||||
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} >/dev/null 2>&1 &
|
||||
|
||||
|
||||
docker安装:
|
||||
|
||||
curl -sSL https://get.docker.com/ | sh
|
Loading…
x
Reference in New Issue
Block a user