shellcurl -L https://raw.githubusercontent.com/nezhahq/scripts/refs/heads/v0/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
打开/opt/nezha/dashboard/docker-compose.yaml
讲docker固定到
.20.13版本shellservices: dashboard: image: ghcr.io/naiba/nezha-dashboard:v0.20.13 restart: always
agent安装脚本
把后台复制出来的 main改成v0就可以了
记得加入--disable-force-update 禁用更新
我同时喜欢加入 --disable-command-execute 禁止web ssh
shellcurl -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
论坛老哥整的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
本文作者:huagege
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!