Winserver 哪吒面板启动命令
下载,并放在C盘nezha文件夹下
"https://github.com/naiba/nezha/releases/download/v0.14.11/nezha-agent_windows_amd64.zip"
"https://github.com/nezhahq/nssm-backup/releases/download/v2.24/nssm.zip"
在Poswershell中执行
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Ssl3 -bor [Net.SecurityProtocolType]::Tls -bor [Net.SecurityProtocolType]::Tls11 -bor [Net.SecurityProtocolType]::Tls12;set-ExecutionPolicy RemoteSigned;C:\nezha\nssm.exe install nezha C:\nezha\nezha-agent.exe -s ip -p key $tls -d
C:\nezha\nssm.exe start nezha
本文来自博客园,作者:木子欢儿,转载请注明原文链接:https://www.cnblogs.com/HGNET/p/17376568.html