面板安装
安装脚本
curl -L https://raw.githubusercontent.com/nezhahq/scripts/refs/heads/v0/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
agent安装
后台复制相关命令即可
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
windows端注意
默认安装指令:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Ssl3 -bor [Net.SecurityProtocolType]::Tls -bor [Net.SecurityProtocolType]::Tls11 -bor [Net.SecurityProtocolType]::Tls12;set-ExecutionPolicy RemoteSigned;Invoke-WebRequest https://raw.githubusercontent.com/nezhahq/scripts/main/extras/install.ps1 -OutFile C:\install.ps1;powershell.exe C:\install.ps1 x.x.x.x:5555 1145141919810
替换字段如下:
海外服务器将 https://raw.githubusercontent.com/nezhahq/scripts/main/extras/install.ps1 替换为
https://huan-starvm.github.io/app/nezha-v0/install.ps1
国内服务器将 https://raw.githubusercontent.com/nezhahq/scripts/main/extras/install.ps1 替换为
https://gitee.com/starvm/storage/raw/master/app/nezha-v0/install.ps1
默认下的agent是0.20.5
相关文档
v0文档 https://nezha-v0.mereith.dev/
互联网档案馆 https://web.archive.org/web/20240929125721/https://nezha.wiki/guide/dashboard.html
正文完