1.国内服务器出现curl: (7) Failed to connect to raw.githubusercontent.com

echo 199.232.68.133 raw.githubusercontent.com >> /etc/hosts

2.修改服务器备注后变成”离线”久不恢复

systemctl restart nezha-agent

3.启动nezha-agent还是一直显示离线
检查配置有没有写对

cat /etc/systemd/system/nezha-agent.service | grep ExecStart

4.境内机器无法安装时替换

https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh

https://gitee.com/naibahq/nezha/raw/master/script/install.sh