无脑一键serv00搭建哪吒监控面板+Agent

 



1. github 创建OAuth应用,用于登录哪吒面板

https://nezha.wiki/guide/dashboard.html#%E8%8E%B7%E5%8F%96-github-%E7%9A%84-client-id-%E5%92%8C%E5%AF%86%E9%92%A5

2.

在Serv00 Panel 如下图确保设置为【Enabled】



添加两个TCP 端口


连接Serv00 ssh 安装 go、pm2


安装PM2: bash <(curl -s https://raw.githubusercontent.com/k0baya/alist_repl/main/serv00/install-pm2.sh)
安装GO:

修改 .profile 文件

echo ‘export PATH=~/local/soft/go/bin:$PATH’ >> ~/.profile

使 .profile 的修改生效

source ~/.profile

检查 go 版本

go version


安装nezha面板并添加监控


bash <(curl -s https://raw.githubusercontent.com/k0baya/nezha4serv00/main/install-dashboard.sh)

面板端口填写端口1; RPC端口填写端口2





github登录面板

  1. 右上角【用户名】-【管理后台】-【设置】-【未接入CDN的面板服务器域名/IP】填入自己的域名
  2. 【管理后台】- 【服务器】- 【新增服务器】- 【一键添加监控】

安装nezha-Agent 把Serv00 监控上,复制上一步创建的监控密钥




bash <(curl -s https://raw.githubusercontent.com/k0baya/nezha4serv00/main/install-agent.sh)




清空安装

pkill -kill -u ${username} chmod -R 755 ~/* \ chmod -R 755 ~/.* \ rm -rf ~/.* \ rm -rf ~/*



评论

此博客中的热门博文

Serv00 sing-box reality + hy2 + vmess-argo +tuic5四合一,vps无交互一键安装脚本(已适配Alpine),支持纯V6 vps,默认解锁GPT和奈飞

serv00 搭建vpn 代理保活方法,防止被系统kill

serv00系列教程,服务器清理,ssh连接不上问题轻松解决,非挂代理