【分享】几个常用的nezha-agent优化参数一键脚本

缓解LXC超开等资源紧张机器nezha-agent频繁掉线反复横跳的问题

bash <(curl -s https://raw.githubusercontent.com/xykt/Utilities/main/nezha/lxc_error_reducer.sh)

nezha-agent优先展示IPv6旗帜(解决warp给了外区IP导致旗帜不符的情况,需不低于v0.17.5)

bash <(curl -s https://raw.githubusercontent.com/xykt/Utilities/main/nezha/ipv6flag.sh)

禁用nezha-agent自动更新

  • 单纯禁用自动更新
bash <(curl -s https://raw.githubusercontent.com/xykt/Utilities/main/nezha/noupgrade.sh)
  • 禁用nezha-agent自动更新,并强制版本固定为v0.17.6(最后一个Websocket-WebShell版本,适配dashboard ≤ v0.17.9)
bash <(curl -s https://raw.githubusercontent.com/xykt/Utilities/main/nezha/fix1706.sh)
  • 禁用nezha-agent自动更新,并强制版本固定为v0.18.5(最后一个非内置ipgeo版本,适配dashboard ≤ v0.18.2)
bash <(curl -s https://raw.githubusercontent.com/xykt/Utilities/main/nezha/fix1805.sh)

禁用nezha-agent的Webshell

bash <(curl -s https://raw.githubusercontent.com/xykt/Utilities/main/nezha/nowebshell.sh)
© 版权声明
THE END
喜欢就支持一下吧
点赞14 分享
评论 抢沙发

    暂无评论内容