CentOS搭建smartping

CentOS搭建smartping

literature
2023-06-23 / 0 评论 / 304 阅读 / 正在检测是否收录...

smartping是一款开源、高效、便捷的网络质量监控神器

官网

基于GO,需要先搭建GO环境
GO环境搭建

安装依赖

yum -y install git gcc

拉取源码

git clone https://github.com/gy-games/smartping.git

构建

cd smartping
chmod +x control
go mod init control
go mod tidy
./control build

运行程序

./control start

开机自启
vi /etc/rc.d/rc.local

/root/smartping/control start

SmartPing默认WEB服务端口为8899,管理界面默认密码为:smartping,若需要修改请修改conf/config.json或conf/config-base.json

0

评论

博主关闭了当前页面的评论