Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By seaworld008v0.7.0MITIn 1 marketplace
Upgrades a CentOS 7 or 8 server in place to AlmaLinux 10 hop by hop, with a survey, service baseline checks after each hop, and recovery steps. Runs long jobs in the background; it says it uses Alibaba Cloud and Huawei Cloud mirrors, and it claims a full CentOS 7 to AlmaLinux 10 run has worked on production machines.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Of the plugin's README
Chinese
1 marketplace, most starred first
Docker, Nginx, Kubernetes, MySQL, Python, AWS, Helm, Docker Compose
centos7, almalinux, os-upgrade, leapp, elevate, in-place-upgrade, server-migration, sysadmin ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
AI 时代,给还在用 CentOS 7 的你一座灯塔。 把老旧 CentOS 7(以及 CentOS 8)服务器安全地原地升级到 AlmaLinux 10,业务不停摆、不失联、可回滚、可验证。
CentOS 7 已于 2024 年 6 月停止维护,不再有安全补丁。AI 时代的自动化攻击扫得又快又广,还跑着 CentOS 7 的服务器风险越来越高。
可是这些机器上的业务各不相同:自编译的 nginx、Docker 容器、Java 任务、数据库、VPN……一台台重装太慢,原地升级又怕把业务搞坏。
原地升级真正的风险往往不在 leapp 本身,而在机器上那些"非官方"的东西。 这个项目把一次真实生产迁移里踩过的每一个坑,都做成了自动检测、自动处理和救援手册:
| 真实踩过的坑 | 这里怎么防 |
|---|---|
| pip 装进系统目录的 Python 包,让升级在 initramfs 里半途失败 | survey.sh 列为 BLOCKER;每跳前自动挪走 |
重启前 docker stop 了全部容器,VPN 容器开机不自启,整个 VPC 失联 | hop.sh reboot 只停有状态且会自启的容器,VPN 容器永不手动停 |
| 自编译 openssh / nginx 依赖 EL7 的库,升级后起不来 | 换回官方 openssh(带自动兜底);nginx 静态重编,最终换成官方包 |
| 国内镜像 429,docker nightly 源超时,leapp 失败 | 自动改用可用镜像,关掉 test/nightly 源,并探测可达性 |
| cgroup v2 让老应用崩溃;docker-compose v1 在新 Docker 上失效 | cgroup v1 兼容 shim;compose v2 包装脚本 |
| 旧 ifcfg 网卡配置、postfix 依赖 libdb、宿主机 Java 被删…… | 每一跳的阻断项都有对应处理 |
fleet_summary.py 自动分类(A/B/C/D、VPN、CentOS 8)→ 金丝雀 → 分批(同业务主备不同批)/plugin install centos7-almalinux-upgrade --marketplace seaworld008/centos7-lighthouse
然后直接说:"帮我把 10.0.0.11 这台 CentOS 7 升级到最新的 AlmaLinux,业务不能断。"技能会自动加载并按流程推进。
git clone https://github.com/seaworld008/centos7-lighthouse.git
cp -r centos7-lighthouse/skills/centos7-almalinux-upgrade ~/.claude/skills/
pip install paramiko openpyxl
S=centos7-lighthouse/skills/centos7-almalinux-upgrade/scripts
export FLEET_INVENTORY=/path/to/servers.xlsx # 列: name, host, port, username, password(本地保存,勿提交)
python $S/remote.py web-01 put $S /root/os-upgrade-kit
python $S/remote.py web-01 run "bash /root/os-upgrade-kit/survey.sh" # 看末尾的 RISK FLAGS
python $S/remote.py web-01 run "bash /root/os-upgrade-kit/backup.sh" # 记下 BACKUP_DIR
之后按 SKILL.md 的阶段执行。MIRROR 的选择:
https://mirrors.aliyun.comhttp://mirrors.cloud.aliyuncs.comupstreamflowchart LR
A[阶段0<br/>确认快照/窗口/<br/>控制台/访问路径] --> B[阶段1<br/>survey + backup<br/>记录业务基线]
B --> C[阶段2<br/>EL7 准备<br/>修源·7.9·pip·openssh]
C --> D{每一跳<br/>7→8 / 8→9 / 9→10}
D --> D1[prep] --> D2[preupgrade<br/>+ 修阻断项] --> D3[upgrade] --> D4[安全重启] --> D5[post 收尾] --> D6[verify<br/>对比基线]
D6 -->|还有下一跳| D
D6 -->|到 EL10| E[阶段4<br/>nginx/kubectl/helm<br/>全量更新·重启测试]
E --> F[阶段5<br/>报告 + 实战记录]
每一跳之后都和基线对比:业务问题在出现的那一跳就修,不攒到最后。
7-day copy clicks
npx claudepluginhub seaworld008/centos7-lighthouse --plugin centos7-almalinux-upgradeBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground