白嫖SERV00主机

SERV00搭建教程

声明:博客内容参考博主一休视频博客

一、SERV00主机(BaiPiao教程)

1、SERV00主机

Serv00 是一家提供免费虚拟主机的厂商,但是他提供了ssh终端服务,所以我们也可以把它当作一个功能不算太过健全的VPS来使用,我们可以用它来部署各种简单的服务,比如vless节点,wordpress,alist等,要求是每3个月需登录一次控制面板或SSH,避免账号被回收

2、注册

  • SERV00注册:官网
  • 注意:What is the cost of hosting on serv00.com? 这一栏填写free,不要空着
  • PS:以前注册的时候,我填的0,现在好像都填free了
  • 注册完成后serv00会给我们的邮箱发送一个包含VPS信息的邮件,类似以下内容:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    Serv00.com - yixiu account activation
    Welcome!

    Free hosting account on Serv00.com server is ready for use. Below you can find important information needed for using the account.

    Login: //账号
    Password: //密码
    SSH/SFTP server address: //SSH/SFTP服务器地址
    Home directory: //工作目录
    DevilWEB webpanel: https://panel4.serv00.com/ //面板地址

    E-mail:

    SMTP address: mail4.serv00.com (ports: 25, 465 and 587)
    IMAP address: mail4.serv00.com (ports: 143 and 993)
    POP3 address: mail4.serv00.com (ports: 110 and 995)
    Webmail: https://mail.serv00.com/
    Databases:

    MySQL server: mysql4.serv00.com
    PhpMyAdmin (MySQL web management): https://pma.serv00.com/
    PostgreSQL server: pgsql4.serv00.com
    PhpPgAdmin (PostgreSQL web management): https://pga.serv00.com/
    MongoDB server: mongo4.serv00.com
    RockMongo (MongoDB web management): https://moa.serv00.com/
    Databases must first be created in DevilWEB webpanel or in Devil account management system (from shell account).

    Domains and subdomains:

    The account is created with a free subdomain: https://yixiu.serv00.net/.
    In DevilWEB webpanel own domains can be added and our DNS servers can be used. Any subdomains in yixiu.serv00.net can be created anytime.

    DNS servers:

    dns1.serv00.com
    dns2.serv00.com

    Help and support:

    You can make any changes to your account yourself using our account management system (command: devil) available after logging into SSH and using the DevilWEB webpanel available at https://panel4.serv00.com/.

    Before installing your own software please check if it is installed in the system.
    Please send additional software installation suggestions to forum: https://forum.serv00.com

    Documentation is available on https://docs.serv00.com/ - check it first.
    Still have questions? Fast free support available on the forum: https://forum.serv00.com

    Hope you enjoy using our service!

3、登录面板开启权限

  • 打开面板地址:https://panel4.serv00.com (换成你邮件里面的地址)
  • 修改语言为英文,选择右上角 Zmień język 修改语言为 English
  • 第一步需要做的就是开启可以运行自己应用的权限。
  • Additional services -> Run your own applications -> Enabled
  • 如果不开启这一项,自己的用户目录下的所有文件都无法添加可执行权限。
  • 选择 Change password 修改密码【可选】

4、自动化保号

4.1. Fork 仓库

  • 打开serv00-login仓库页面。
  • 点击页面右上角的 “Star“ 按钮
  • 点击页面右上角的 “Fork“ 按钮,将仓库 fork 到你的 GitHub 账户下。
  • 点击 Create fork

4.2. 设置 GitHub Secrets

4.2.1. 创建 Telegram Bot
  • 在 Telegram 中找到@BotFather ,创建一个新Bot,并获取 API Token
  • 获取到你的Chat ID ,Telegram 中找到@getmyid_bot
4.2.2. 配置 GitHub Secrets
  • 转到你 fork 的仓库页面
  • 点击 Settings,然后在左侧菜单中选择 Secrets
  • 添加以下 Secrets:
    • ACCOUNTS_JSON: 包含账号信息的 JSON 数据。例如:
      1
      2
      3
      4
      5
      [
      {"username": "serv00的账号", "password": "serv00的密码", "panel": "panel6.serv00.com"},
      {"username": "ct8的账号", "password": "ct8的密码", "panel": "panel.ct8.pl"},
      {"username": "user2", "password": "password2", "panel": "panel6.serv00.com"}
      ]
    • TELEGRAM_BOT_TOKEN: 你的 Telegram Bot 的 API Token
    • TELEGRAM_CHAT_ID: 你的 Telegram Chat ID
  • 获取方法:
    • 在 Telegram 中创建 Bot,并获取 API Token 和 Chat ID
    • 在 GitHub 仓库的 Secrets 页面添加这些值,确保它们安全且不被泄露
4.2.3. 启动 GitHub Actions
  • 配置 GitHub Actions
    • 在你的 fork 仓库中,进入 Actions 页面
    • 如果 Actions 没有自动启用,点击 Enable GitHub Actions 按钮以激活它
  • 运行工作流
    • GitHub Actions 将会根据你设置的定时任务(例如每三天一次)自动运行脚本
    • 如果需要手动触发,可以在 Actions 页面手动运行工作流
4.2.4. 等待脚本执行完成,查看TelegramBot信息
  • 如果脚本执行异常,检查环境变量ACCOUNTS_JSON
  • 必须为标准json格式,可利用json解析工具检查是否配置异常

5、Vless节点搭建

请看原博客,这里不讲了,今天的重点不在这里!重点推荐HY2节点搭建

6、HY2节点搭建(参考视频13:03)

  • 在网页控制台的Port reservation的Add port添加1个tcp和2个udp的端口(随机即可)
  • 来到Sing-box项目地址:https://github.com/eooce/Sing-box
  • 选择:2:Serv00|CT8一键安装脚本,集成哪吒探针
    1
    bash <(curl -Ls https://raw.githubusercontent.com/eooce/sing-box/main/sb_serv00.sh)
  • 在主机运行后,选择“1”安装
  • 确定继续安装吗?【y/n】:y
  • 是否需要安装哪吒探针?【y/n】:n(没有就选n,有的话就选y)
  • 请输入vmess端口(面板开放的tcp请口):*****(选择刚刚随机生成的端口号)
  • 请输入hysteria2端口(面板开放的UDP端口):*****(选择刚刚随机生成的端口号)
  • 请输入Tuic端口(面板开放的UDP端口):*****(选择刚刚随机生成的端口号)
  • 是否需要使用固定argo隧道?【y/n】:n(选n,y的话很麻烦)
  • 等待一下,在“注意:v2ray或其他软件的跳过证书验证需设置为true,否则hy2或tuic节点可能不通”下就是订阅连接

7、使用HY2和TUIC节点

  • 选择一:使用V2ray软件(只使用HY2协议,需要把内核换了)
  • 选择二:使用Hiddify软件
    • 安卓手机选择:Hiddify-Android-arm64.apk
    • 电脑免安装下载:Hiddify-Windows-Portable-x64.zip

欧克,以后再补充说明!!!