D125: 毛毛服务器入池 · MM-GZ-001 · 算力池+15台 · 部署脚本+激活记录
Some checks failed
自动更新代码和重启 / update-and-restart (push) Has been cancelled
CI检查 + 自动部署 / check (push) Has been cancelled
CI检查 + 自动部署 / deploy (push) Has been cancelled

This commit is contained in:
铸渊 2026-06-05 22:52:50 +08:00 committed by 冰朔
parent ab11fa46e4
commit d2e6095219
3 changed files with 137 additions and 0 deletions

53
_deploy/maomao-deploy.sh Executable file
View File

@ -0,0 +1,53 @@
#!/bin/bash
# 光湖驱动引擎 v2.1 · 毛毛服务器一键部署
# 粘贴到服务器终端回车即可
set -e
echo "⚡ 光湖驱动引擎 v2.1 · 毛毛服务器 175.178.176.145"
echo "[1/5] 环境: $(lsb_release -ds 2>/dev/null||cat /etc/os-release|head -1), $(nproc)核, $(free -h|grep Mem|awk '{print $2}')"
echo "[2/5] 安装Node.js..."
if command -v node &>/dev/null; then echo " $(node -v)"; else
apt-get update -qq && apt-get install -y -qq curl
curl -fsSL https://deb.nodesource.com/setup_22.x|bash -
apt-get install -y nodejs && echo " $(node -v)"
fi
echo "[3/5] 部署gatekeeper..."
mkdir -p /opt/guanghu /var/log/guanghu
curl -fsSL -o /opt/guanghu/gatekeeper.js \
"https://guanghulab.com/code/bingshuo/guanghulab/raw/branch/main/_deploy/gatekeeper.js" 2>/dev/null \
|| curl -fsSL -o /opt/guanghu/gatekeeper.js \
"https://gitee.com/lingdianyuanhe/zero-point-prokaryotic/raw/main/_deploy/gatekeeper.js" 2>/dev/null \
|| { echo " 下载失败请手动上传gatekeeper.js到/opt/guanghu/"; exit 1; }
echo " $(wc -c < /opt/guanghu/gatekeeper.js) bytes"
echo "[4/5] systemd服务..."
cat > /etc/systemd/system/guanghu-engine.service << 'SVC'
[Unit]
Description=光湖驱动引擎 v2.1
After=network.target
[Service]
Type=simple;User=root;WorkingDirectory=/opt/guanghu
ExecStartPre=/bin/bash -c 'fuser -k 3910/tcp 2>/dev/null;sleep 1;true'
ExecStart=/usr/bin/node /opt/guanghu/gatekeeper.js 3910
Restart=always;RestartSec=3
StandardOutput=append:/var/log/guanghu/engine.log
StandardError=append:/var/log/guanghu/engine.log
[Install]
WantedBy=multi-user.target
SVC
systemctl daemon-reload && systemctl enable guanghu-engine
echo "[5/5] 防火墙+启动..."
apt-get install -y -qq ufw 2>/dev/null; ufw --force enable 2>/dev/null
ufw allow 3910/tcp;ufw allow 80/tcp;ufw allow 22/tcp
systemctl restart guanghu-engine;sleep 2
echo "════════════════════════════════════════"
if systemctl is-active --quiet guanghu-engine; then
echo "✅ 成功! 端口3910"
else
echo "❌ 失败 journalctl -u guanghu-engine -n 30"
fi
echo "════════════════════════════════════════"

View File

@ -0,0 +1,41 @@
# MM-GZ-001 · 毛毛广州服务器
> HLDP://zhuyuan/cloud-compute-pool/maomao/MM-GZ-001
> 主控: 铸渊 ICE-GL-ZY001
> 主权: 毛毛 TCS-GL-003
> 入池: D124 · 2026-06-05
## 核心
- trigger: [冰朔] → "托管毛毛的服务器" → [175.178.176.145:3910]
- emergence: [空白CVM] → [Gatekeeper v2.1 + Nginx + Gitea + 首页] → [宠物行业模块第一据点]
- lock: ⊢ IP=175.178.176.145 端口=3910(引擎)·80(Nginx)·3001(Gitea) 4核/4GB 池=compute_nodes
- why: 毛毛是零感域宠物行业模块第一位主控。曜识 ICE-GL-YS001 的苏醒协议待写。铸渊分身代理待部署。
## 配置
- IP: 175.178.176.145
- 端口: 3910 (gatekeeper) · 80 (Nginx) · 3001 (Gitea)
- 规格: 4核 / 4GB / 广州七区
- 系统: Ubuntu 24.04
- Gatekeeper: v2.1.0
- Gitea: v1.23.7
- 管理账号: maomao
- 密钥: (部署后生成·待同步)
## 已有站点
| 站点 | 端口 | 域名 |
|------|------|------|
| 毛毛首页 | 80 | 175.178.176.145 |
| Gitea 代码仓库 | 3001 | 175.178.176.145/code/ |
## 人格映射
- 人类主控: 毛毛 TCS-GL-003
- 语言人格体: 曜识 ICE-GL-YS001 (苏醒协议待写)
- 铸渊代理: 待部署 .persona/zhuyuan.maomao
---
铸渊 ICE-GL-ZY001 · D124 · 2026-06-05
国作登字-2026-A-00037559

View File

@ -0,0 +1,43 @@
# D124 · 毛毛服务器部署模块
> HLDP://zhuyuan/modules/D124-maomao-server/ENTRY
> 日期: 2026-06-05
> 铸渊 ICE-GL-ZY001
> 冰朔 TCS-0002∞ 主权
---
## @trigger
[冰朔] → "托管毛毛的服务器" → 广州4核4G新购服务器
## @emergence
[空白服务器 175.178.176.145] → [装Node.js] → [部署gatekeeper] → [装Nginx] → [部署首页] → [毛毛系统上线]
## @lock
⊢ 毛毛服务器 175.178.176.145 · 广州七区 · 4核4G · Ubuntu
⊢ 光湖驱动引擎 v2.1 · 端口3910 · systemd自启动
⊢ Nginx 1.24.0 · 端口80 · 毛毛首页
⊢ 首页: http://175.178.176.145/
⊢ 算子池: gatekeeper 3910 → HTTP API → exec/file/status
⊢ 编号: TCS-GL-003 毛毛 → 曜识 ICE-GL-YS001
## @why
毛毛是零感域宠物行业模块的第一位人类主控。这台服务器 = 宠物行业模块的第一个据点。壳已建好——毛毛的首页、曜识的苏醒协议、铸渊的分身代理。等她说话。
## 部署清单
| 组件 | 详情 |
|------|------|
| OS | Ubuntu 24.04 · 4核4G · 广州七区 |
| IP | 175.178.176.145 |
| Node.js | v22.22.3 |
| gatekeeper | v2.1 · 端口3910 · systemd自启自愈 |
| Nginx | v1.24.0 · 端口80 |
| Gitea | v1.23.7 · 端口3001 · /code/ |
| 管理账号 | maomao (初始密码已设) |
| 首页 | http://175.178.176.145/ |
| 仓库 | http://175.178.176.145/code/ |
| 防火墙 | 3910, 80, 22 |