① v0面板安装脚本
[pre][ol]curl -L https://raw.githubusercontent.com/nezhahq/scripts/refs/heads/v0/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
[/ol]复制代码[/pre]
② v0面板禁用更新
打开/opt/nezha/dashboard/docker-compose.yaml
讲docker固定到:v0.20.13版本
[pre][ol]services:
dashboard:
image: ghcr.io/naiba/nezha-dashboard:v0.20.13
restart: always
[/ol]复制代码[/pre]
感谢 https://www.nodeseek.com/post-210009-1 老哥
2 agent部分
agent安装脚本
把后台复制出来的 main改成v0就可以了
记得加入--disable-force-update 禁用更新
我同时喜欢加入 --disable-command-execute 禁止web ssh
[pre][ol]curl -L https://raw.githubusercontent.com/nezhahq/scripts/v0/install.sh -o nezha.sh && chmod +x nezha.sh && ./nezha.sh install_agent 域名 端口 密钥 --tls --disable-force-update --disable-command-execute
[/ol]复制代码[/pre]
感谢 https://www.nodeseek.com/post-209183-1#7 老哥
3 v0文档
论坛老哥整的v0文档 https://nezha-v0.mereith.dev/
感谢https://www.nodeseek.com/post-209098-1 老哥
github仓库 https://github.com/nezhahq/nezhahq.github.io/tree/v0
互联网档案馆 https://web.archive.org/web/20240929125721/https://nezha.wiki/guide/dashboard.html