本文主要是介绍迁移CentOS 8到版本 almalinux8,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
访问 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
这篇关于迁移CentOS 8到版本 almalinux8的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!