迁移CentOS 8到版本 almalinux8

该博客介绍了如何通过查询raw.githubusercontent.com的IP并将其添加到hosts文件,然后使用curl下载并授权执行AlmaLinux的部署脚本,完成系统的迁移过程。主要步骤包括查询IP,编辑hosts,下载脚本,授权执行脚本,直至系统迁移成功。
摘要由CSDN通过智能技术生成

访问 https://www.ipaddress.com/ ,查询 raw.githubusercontent.com 的IP
添加到/etc/hosts文件中:
vim /etc/hosts
添加内容:
#Github
185.199.108.133 raw.githubusercontent.com

执行curl下载:
curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
授权执行即可:
给almalinux-deploy.sh脚本文件授权:
chmod u+x almalinux-deploy.sh
执行:
sudo ./almalinux-deploy.sh
等待,直到出现如下消息,即说明乔迁成功!
Complete!
Run dnf distro-sync -y OK
Restoring of alternatives is done OK
Generating grub configuration file …
done
All Secure Boot related packages which were released by not AlmaLinux are reinstalledOK

Migration to AlmaLinux is completed
#reboot

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值