docs(readme): 重构系统部署指令,采用落地执行模式彻底修复管道符交互闪退与进程误杀漏洞

This commit is contained in:
hotyue
2026-04-20 16:55:12 +00:00
parent 011c1faad4
commit 03e735a44b

View File

@@ -54,12 +54,12 @@
- **部署 Master (中枢大脑)**:找一台 VPS 作为司令部(仅需部署一台),执行: - **部署 Master (中枢大脑)**:找一台 VPS 作为司令部(仅需部署一台),执行:
```bash ```bash
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/master/install_master.sh)" curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/master/install_master.sh -o /tmp/ins_master.sh && sudo bash /tmp/ins_master.sh
``` ```
- 部署 Agent (边缘哨兵):在需要养护的机器上执行 Agent 脚本,安装时选择私有独立中枢,并分别输入您自建机器人的 [Token](https://blog.iot-architect.com/engineering-practice/create-private-telegram-bot-via-botfather) 以及您的个人 [Chat ID](https://blog.iot-architect.com/engineering-practice/get-telegram-personal-id-via-userinfobot) - 部署 Agent (边缘哨兵):在需要养护的机器上执行 Agent 脚本,安装时选择私有独立中枢,并分别输入您自建机器人的 [Token](https://blog.iot-architect.com/engineering-practice/create-private-telegram-bot-via-botfather) 以及您的个人 [Chat ID](https://blog.iot-architect.com/engineering-practice/get-telegram-personal-id-via-userinfobot)
```Bash ```Bash
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/core/install.sh)" curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/core/install.sh -o /tmp/ins_agent.sh && sudo bash /tmp/ins_agent.sh
``` ```
- 激活节点:安装完成后,您的手机会收到一条 #REGISTER# 注册暗号,将其转发给您自己的机器人即可完成编队入库。 - 激活节点:安装完成后,您的手机会收到一条 #REGISTER# 注册暗号,将其转发给您自己的机器人即可完成编队入库。
@@ -71,7 +71,7 @@ sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/
- 部署 Agent在目标 VPS 上执行以下指令,安装过程中选择官方公共网关,并输入您的 Chat ID - 部署 Agent在目标 VPS 上执行以下指令,安装过程中选择官方公共网关,并输入您的 Chat ID
```Bash ```Bash
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/core/install.sh)" curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/core/install.sh -o /tmp/ins_agent.sh && sudo bash /tmp/ins_agent.sh
``` ```
- 激活节点:同上,将收到的暗号转发给官方机器人即可。 - 激活节点:同上,将收到的暗号转发给官方机器人即可。
@@ -106,7 +106,7 @@ bash /opt/ip_sentinel/core/uninstall.sh
*(注意:该分支仅作基础维护,不享受新功能迭代,请尽可能升级你的系统)* *(注意:该分支仅作基础维护,不享受新功能迭代,请尽可能升级你的系统)*
```bash ```bash
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/legacy/core/install.sh)" curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/legacy/core/install.sh -o /tmp/ins_legacy.sh && sudo bash /tmp/ins_legacy.sh
``` ```
## 📡 战术联络 (Community) ## 📡 战术联络 (Community)