CentOS 8をAlmaLinux(Beta)にマイグレートしてみる
はじめに
前回はVMWare上にAlmaLinuxをクリーンインストールしてみました。
今回は、CentOSからAlmaLinuxへのマイグレート用コマンドを使ってみたいと思います。環境
- Windows 10(20H2)
- VMWare Workstation 16
- ゲストOSはCentos 8(8.3.2011)
- マイグレート先:AlmaLinux 8.3(Beta)
CentOSの環境確認
# cat /etc/redhat-release
CentOS Linux release 8.3.2011
# grubby --info DEFAULT | grep title
title="CentOS Linux (4.18.0-240.10.1.el8_3.x86_64) 8"
# dnf repolist
Failed to set locale, defaulting to C.UTF-8
repo id repo name
appstream CentOS Linux 8 - AppStream
baseos CentOS Linux 8 - BaseOS
extras CentOS Linux 8 - Extras
# dnf repolist all
Failed to set locale, defaulting to C.UTF-8
repo id repo name status
appstream CentOS Linux 8 - AppStream enabled
appstream-source CentOS Linux 8 - AppStream - Source disabled
baseos CentOS Linux 8 - BaseOS enabled
baseos-source CentOS Linux 8 - BaseOS - Source disabled
cr CentOS Linux 8 - ContinuousRelease disabled
debuginfo CentOS Linux 8 - Debuginfo disabled
devel CentOS Linux 8 - Devel WARNING! FOR BUILDROOT USE ONLY! disabled
extras CentOS Linux 8 - Extras enabled
extras-source CentOS Linux 8 - Extras - Source disabled
fasttrack CentOS Linux 8 - FastTrack disabled
ha CentOS Linux 8 - HighAvailability disabled
media-appstream CentOS Linux 8 - Media - AppStream disabled
media-baseos CentOS Linux 8 - Media - BaseOS disabled
plus CentOS Linux 8 - Plus disabled
plus-source CentOS Linux 8 - Plus - Source disabled
powertools CentOS Linux 8 - PowerTools disabled
実際にマイグレートしてみる
# curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
# bash almalinux-deploy.sh
(ログが出力...)
Migration to AlmaLinux is completed, please reboot the system
# reboot
※公式ドキュメントはこちら
AlmaLinuxの環境確認
# cat /etc/redhat-release
AlmaLinux release 8.3 Beta (Purple Manul)
# grubby --info DEFAULT | grep title
title="AlmaLinux (4.18.0-240.el8.x86_64) 8"
# dnf repolist
Failed to set locale, defaulting to C.UTF-8
repo id repo name
appstream AlmaLinux 8.3 - AppStream
baseos AlmaLinux 8.3 - BaseOS
extras AlmaLinux 8.3 - Extras
powertools AlmaLinux 8.3 - PowerTools
# dnf repolist all
Failed to set locale, defaulting to C.UTF-8
repo id repo name status
appstream AlmaLinux 8.3 - AppStream enabled
appstream-debuginfo AlmaLinux 8.3 - AppStream debuginfo disabled
appstream-source AlmaLinux 8.3 - AppStream Source disabled
baseos AlmaLinux 8.3 - BaseOS enabled
baseos-debuginfo AlmaLinux 8.3 - BaseOS debuginfo disabled
baseos-source AlmaLinux 8.3 - BaseOS Source disabled
extras AlmaLinux 8.3 - Extras enabled
extras-debuginfo AlmaLinux 8.3 - Extras debuginfo disabled
extras-source AlmaLinux 8.3 - Extras Source disabled
powertools AlmaLinux 8.3 - PowerTools enabled
powertools-debuginfo AlmaLinux 8.3 - PowerTools debuginfo disabled
powertools-source AlmaLinux 8.3 - PowerTools Source disabled
うまくマイグレートできているようです。
まとめ
CentOS 8をAlmaLinux(Beta)にマイグレートしてみました。CentOS 8のメンテナンスは2021年12月に終了するので、CentOSで稼働している世界各所のシステムが今後どういう対応を行っていくのか注目していきたいと思います。