# socks5-for-serv00 在 Serv00 和 CT8 机器上一步到位地安装和配置 SOCKS5 & nezha-agent,并将其用于 cmliu/edgetunnel 项目,帮助解锁 ChatGPT 等服务。通过一键脚本实现代理安装,使用 Crontab 保持进程活跃,并借助 GitHub Actions 实现帐号续期与自动化管理,确保长期稳定运行。 ## 如何使用? [视频教程](https://youtu.be/L6gPyyD3dUw) ### 一键清理重置 - 一键清理重置命令 ```bash [ -d .nezha-agent ] && rm -rf .nezha-agent; [ -d .s5 ] && rm -rf .s5; [ -d .hysteria ] && rm -rf .hysteria && bash <(curl -Ls https://github.com/eooce/Sing-box/releases/download/00/reset.sh) ``` ### nohup模式 - 一键安装 **新手小白用这个!** ```bash bash <(curl -s https://raw.githubusercontent.com/cmliu/socks5-for-serv00/main/install-socks5.sh) ``` ---- ### ~pm2模式~ - ~一键安装~ ~`bash <(curl -s https://raw.githubusercontent.com/cmliu/socks5-for-serv00/pm2/install-socks5.sh)`~ - 一键卸载pm2 ```bash pm2 unstartup && pm2 delete all && npm uninstall -g pm2 ``` ---- ## Github Actions保活 添加 Secrets.`ACCOUNTS_JSON` 变量 ```json [ {"username": "cmliusss", "password": "7HEt(xeRxttdvgB^nCU6", "panel": "panel4.serv00.com", "ssh": "s4.serv00.com"}, {"username": "cmliussss2018", "password": "4))@cRP%HtN8AryHlh^#", "panel": "panel7.serv00.com", "ssh": "s7.serv00.com"}, {"username": "4r885wvl", "password": "%Mg^dDMo6yIY$dZmxWNy", "panel": "panel.ct8.pl", "ssh": "s1.ct8.pl"} ] ``` # 致谢 [RealNeoMan](https://github.com/Neomanbeta/ct8socks)、[k0baya](https://github.com/k0baya/nezha4serv00)、[eooce](https://github.com/eooce)