CentOS 8 目前只支援到 2021/12/31,且因為特殊的原因 (可看這裡),所以 AlmaLinux 就出現了
有幾家雲端廠商說支持它,這造就我要把 CentOS 8 轉/遷移到 AlmaLinux 8
怎麼作 ↓
先將套件更新
dnf update -y
重開機
reboot
移除 CentOS 相關
rpm -e --nodeps centos-gpg-keys centos-linux-release centos-linux-repos
安裝 AlmaLinux release 套件
rpm -ivh https://repo.almalinux.org/almalinux/8.4/BaseOS/x86_64/os/Packages/almalinux-release-8.4-2.el8.x86_64.rpm
開始轉移
dnf distro-sync -y
重開機
reboot
確認版本
cat /etc/redhat-release AlmaLinux release 8.4 (Electric Cheetah)
另外
也可以使用 AlmaLinux/almalinux-deploy 出的移轉工具
curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh bash almalinux-deploy.sh
但我這出現問題,所以我採用上方一開始的作法
webkit2gtk3.x86_64 2.30.4-1.el8 appstream webkit2gtk3-plugin-process-gtk2.x86_64 2.24.4-2.el8_1 @AppStream Run dnf distro-sync -y. Exit code: 100 ERROR
參考
https://www.layerstack.com/resources/tutorials/How-to-Migrate-from-CentOS-8-to-AlmaLinux
https://github.com/AlmaLinux/almalinux-deploy
留言