0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

CentOS8 を AlmaLinux に移行

Posted at

まえがき

CentOS8 から AlmaLinux へ移行が簡単にできると聞いたので
試してみた所、本当に簡単でした。スクリプトを実行するだけ!

準備

・一応バックアップ
・パッケージを色々入れるのでドライブに空きを作っておく
・CentOS8 も最新にしておく (古いバージョンでは未検証)

dnf update

・再起動

reboot

AlmaLinux 移行用スクリプトを適用

・移行スクリプトをダウンロード

curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh

・実行

bash almalinux-deploy.sh
...
Migration to AlmaLinux is completed

・確認

# check release file
$ cat /etc/redhat-release 
AlmaLinux release 8.4 (Electric Cheetah)

# check that the system boots AlmaLinux kernel by default
$ sudo grubby --info DEFAULT | grep AlmaLinux
title="AlmaLinux (4.18.0-305.10.2.el8_4.x86_64) 8.4 (Electric Cheetah)"

・再起動

reboot

完了

image.png

以上、お疲れさまでした!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?