一切皆容器,自动化呃

This commit is contained in:
ubuntu 2018-07-27 14:04:35 +08:00
parent 455be8cb11
commit 88a831d465

@ -5,14 +5,14 @@
# 目录介绍: # 目录介绍:
* autodeploy 自动部署脚本 * autodeploy 自动部署
* clients 客户端文件 * clients 客户端文件
* server 服务端文件 * server 服务端文件
* web 网站文件 * web 网站文件
# 更新说明: # 更新说明:
* 20180626, 增加客户端自动部署脚本,代码:https://github.com/dovela/ServerStatus1Click * 20180726, 一切皆容器额,查看自动部署或autodeploy/readme
* 20180314, 调整前端置默认密码为设置ip和user即可上线       * 20180314, 调整前端置默认密码为设置ip和user即可上线      
* 20180312, 加入失联(被照顾)检测【正常MH361, 屏蔽MH370】校准虚拟化(container)流量统计异常       * 20180312, 加入失联(被照顾)检测【正常MH361, 屏蔽MH370】校准虚拟化(container)流量统计异常      
* 20170807, 更新平均1515负载 * 20170807, 更新平均1515负载
@ -20,13 +20,16 @@
# 自动部署: # 自动部署:
【服务端】:暂无 【服务端】:
```bash
docker pull cppla/serverstatus
wget https://raw.githubusercontent.com/cppla/ServerStatus/master/autodeploy/config.json
docker run -d --restart=always --name=serverstatus -v ~/config.json:/ServerStatus/server/config.json -p 80:80 -p 35601:35601 cppla/serverstatus
```
【客户端】: 【客户端】:
```bash ```bash
wget -N --no-check-certificate https://raw.githubusercontent.com/cppla/ServerStatus/master/autodeploy/client-auto.sh 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 &
chmod +x client-auto.sh
./client-auto.sh
``` ```
# 手动安装教程: # 手动安装教程: