8
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CentOS8からRockyLinux8へのマイグレーション手順

8
Posted at

概要

  • 利用しているCentOS8がEOL(2021年12月31日)になっているため、RockyLinux8にマイグレーションする。

手順 / ノウハウ

1.現行のサーバのOSバージョンを確認する。

# cat /etc/redhat-release
CentOS Linux release 8.0.1905 (Core)

2.Yum update を実行する。

# yum -y update
# cat /etc/redhat-release
CentOS Linux release 8.5.2111

3.マイグレーションツールをダウンロードする。

# curl https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh -o migrate2rocky.sh

4.マイグレーションの実行をする。

# chmod +x migrate2rocky.sh
# ./migrate2rocky.sh -r

5.マイグレーション実施後のOSバージョンを確認する。

# cat /etc/redhat-release
Rocky Linux release 8.7 (Green Obsidian)

改訂履歴

  • v1.0 (2026-01-22):初版作成
8
2
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
8
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?