Loading... 探针地址源码:https://github.com/cppla/serverstatus # 服务端安装流程 ``` # 拉取依赖环境 cd /www/wwwroot/ && \ git clone https://github.com/cppla/ServerStatus.git && \ cd ServerStatus/server && \ make # 修改配置文件 vi config.json配置文件 # 启动服务器:注意打开对应端口35601-安全组 kill -9 `ps -ef |grep sergate| grep -v 'grep' | awk '{print $2}'` cd /www/wwwroot/ServerStatus/server && nohup ./sergate --config=config.json > /dev/null 2>&1 & # nginx网站对接 nginx配置网站的数据目录到`/www/wwwroot/ServerStatus/web` 最后访问即可 ``` # 客户端安装流程 ``` cd /home && \ wget --no-check-certificate -qO client-linux.py 'https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py' # 然后改一些代码,最后直接启动 nohup python /home/client-linux.py USER=s04 >/dev/null 2>&1 & ``` 最后修改:2020 年 03 月 04 日 12 : 14 AM © 允许规范转载 赞赏 如果觉得我的文章对你有用,或者你想py,请随意赞赏 ×Close 赞赏作者 扫一扫支付 支付宝支付 微信支付
厉害厉害
AC你好骚啊~