使用ServerStatus-Hotaru创建服务器云监控网页
使用ServerStatus-Hotaru创建自带的服务器云监控网页,ServerStatus-Hotaru是一款基于ServerStatus-Toyo进行二次开发的云探针、云监控网页,可以通过web网页显示服务器的基本运行状态,流量使用等基础信息。
安装
服务端安装命令:
- wget https://raw.githubusercontent.com/CokeMine/ServerStatus-Hotaru/master/status.sh
- bash status.sh s
1、选择1,配置服务端
2、没什么需求的话,端口建议默认就好
3、如果本地没装别的如Nginx或者Apache之类的,直接Y就好
4、绑定域名或IP访问
5、端口自主选择
6、添加客户端:选择7后选1
剩下的信息自己填就好了
7、删除(修改)服务端:选7后在选择
客户端安装命令:
- wget https://raw.githubusercontent.com/CokeMine/ServerStatus-Hotaru/master/status.sh
- bash status.sh c
运行脚本后填入服务端的信息即可完成链接,请确保用户名的唯一性。
其他操作命令
- //调用客户端菜单
- bash status.sh c
- //调用服务端菜单
- bash status.sh s