ユーザー(tu)を管理者(root)に変更。「tu」は例示。
[tu@ufuso ~]$ su -
管理者(root)のパスワードを入力。入力したパスワードは表示されない。
パスワード:
#CentOSの現在のバージョンを確認
[root@ufuso ~]# cat /etc/centos-release
CentOS Linux release 8.4.2105
#CentOS Stream 8 のリポジトリをインストール
[root@ufuso ~]# dnf -y install centos-release-stream
メタデータの期限切れの最終確認: 0:45:35 時間前の 2021年11月12日 10時35分57秒 に実施しました。
依存関係が解決しました。 #
================================================================================
パッケージ Arch バージョン Repo サイズ
================================================================================
インストール:
centos-release-stream x86_64 8.1-1.1911.0.7.el8 extras 11 k
トランザクションの概要
================================================================================
インストール 1 パッケージ
ダウンロードサイズの合計: 11 k
インストール後のサイズ: 6.6 k
パッケージのダウンロード:
centos-release-stream-8.1-1.1911.0.7.el8.x86_64 85 kB/s | 11 kB 00:00
——————————————————————————–
合計 13 kB/s | 11 kB 00:00
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
準備 : 1/1
インストール中 : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 1/1
検証 : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 1/1
Installed products updated.
インストール済み:
centos-release-stream-8.1-1.1911.0.7.el8.x86_64
完了しました!
#リポジトリの情報をCentos 8.4からCentOS-Streamへ置き換え
[root@ufuso ~]# dnf -y swap centos-{linux,stream}-repos
CentOS-Stream – AppStream 5.5 MB/s | 16 MB 00:02
CentOS-Stream – Base 1.9 MB/s | 14 MB 00:07
CentOS-Stream – Extras 14 kB/s | 16 kB 00:01
依存関係が解決しました。
================================================================================
パッケージ Arch バージョン リポジトリー サイズ
================================================================================
インストール:
centos-stream-release noarch 8.6-1.el8 Stream-BaseOS 22 k
置き換え centos-linux-release.noarch 8.4-1.2105.el8
置き換え centos-release-stream.x86_64 8.1-1.1911.0.7.el8
centos-stream-repos noarch 8-3.el8 extras 19 k
削除中:
centos-linux-repos noarch 8-3.el8 @baseos 26 k
トランザクションの概要
================================================================================
インストール 2 パッケージ
削除 1 パッケージ
ダウンロードサイズの合計: 42 k
パッケージのダウンロード:
199% [=======================================-] 1.5 kB/s | 1(1/2): centos-stream-repos-8-3.el8.noarch.rpm 111 kB/s | 19 kB 00:00
(2/2): centos-stream-release-8.6-1.el8.noarch.r 120 kB/s | 22 kB 00:00
——————————————————————————–
合計 33 kB/s | 42 kB 00:01
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
準備 : 1/1
scriptletの実行中: centos-stream-release-8.6-1.el8.noarch 1/1
インストール中 : centos-stream-release-8.6-1.el8.noarch 1/5
インストール中 : centos-stream-repos-8-3.el8.noarch 2/5
廃止 : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 3/5
廃止 : centos-linux-release-8.4-1.2105.el8.noarch 4/5
削除 : centos-linux-repos-8-3.el8.noarch 5/5
scriptletの実行中: centos-linux-repos-8-3.el8.noarch 5/5
検証 : centos-stream-repos-8-3.el8.noarch 1/5
検証 : centos-stream-release-8.6-1.el8.noarch 2/5
検証 : centos-linux-release-8.4-1.2105.el8.noarch 3/5
検証 : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 4/5
検証 : centos-linux-repos-8-3.el8.noarch 5/5
Installed products updated.
インストール済み:
centos-stream-release-8.6-1.el8.noarch centos-stream-repos-8-3.el8.noarch
削除しました:
centos-linux-repos-8-3.el8.noarch
完了しました!
#インストール済みのCentos 8.4のパッケージをCentOS-Stream用に更新
[root@ufuso ~]# dnf -y distro-sync
CentOS Stream 8 – AppStream 6.5 MB/s | 16 MB 00:02
CentOS Stream 8 – BaseOS 1.8 MB/s | 14 MB 00:08
CentOS Stream 8 – Extras 15 kB/s | 16 kB 00:01
メタデータの期限切れの最終確認: 0:00:01 時間前の 2021年11月12日 11時24分14秒 に実施しました。
依存関係が解決しました。
================================================================================
パッケージ Arch バージョン Repo サイズ
================================================================================
インストール:
kernel x86_64 4.18.0-348.el8 baseos 7.0 M
kernel-core x86_64 4.18.0-348.el8 baseos 38 M
kernel-devel x86_64 4.18.0-348.el8 baseos 20 M
kernel-modules x86_64 4.18.0-348.el8 baseos 30 M
アップグレード:
ModemManager x86_64 1.18.2-1.el8 baseos 1.1 M
ModemManager-glib x86_64 1.18.2-1.el8 baseos 304 k
NetworkManager x86_64 1:1.34.0-0.3.el8 baseos 2.7 M
…
…
libzstd-devel-1.4.4-1.el8.x86_64
python2-wheel-wheel-1:0.31.1-3.module_el8.6.0+940+9e7326fe.noarch
python3-cloud-what-1.28.21-3.el8.x86_64
削除しました:
kernel-4.18.0-305.10.2.el8_4.x86_64
kernel-core-4.18.0-305.10.2.el8_4.x86_64
kernel-devel-4.18.0-305.10.2.el8_4.x86_64
kernel-modules-4.18.0-305.10.2.el8_4.x86_64
完了しました!
#サーバーを再起動
[root@ufuso ~]# reboot
ユーザー(tu)を管理者(root)に変更。「tu」は例示。
[tu@ufuso ~]$ su -
管理者(root)のパスワードを入力。入力したパスワードは表示されない。
パスワード:
#CentOSの現在のバージョンを確認。CentOS Stream release 8になっていたらOK
[root@ufuso ~]# cat /etc/centos-release
CentOS Stream release 8
|