«   2021/03   »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
03-06 16:50
Notice
Today
46
Total
1,407,991
관리 메뉴

변군이글루

[리눅스] CentOS 8에서 CentOS Stream으로 마이그레이션 본문

* 리눅스

[리눅스] CentOS 8에서 CentOS Stream으로 마이그레이션

변군 변군이글루 2021. 1. 26. 23:26

CentOS 8에서 CentOS Stream으로 마이그레이션

테스트 환경

redhat release

$ cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)

커널 버전

$ uname -r
4.18.0-147.el8.x86_64

gcc, g++ 버전

$ gcc --version
gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


$ g++ --version
g++ (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

마이그레이션

$ dnf install centos-release-stream

$ dnf install centos-release-stream
마지막 메타 데이터 만료 확인 : 0:02:22 전에 2021년 01월 27일 (수) 오전 12시 10분 31초.
Dependencies resolved.
=============================================================================================
 Package                      Architecture  Version                      Repository     Size
=============================================================================================
Installing:
 centos-release-stream        x86_64        8.1-1.1911.0.7.el8           extras         11 k

Transaction Summary
=============================================================================================
설치  1 Package

...

설치됨:
  centos-release-stream-8.1-1.1911.0.7.el8.x86_64

완료되었습니다!

$ dnf swap centos-{linux,stream}-repos

$ dnf swap centos-{linux,stream}-repos
CentOS-Stream - AppStream                                    7.0 MB/s | 6.5 MB     00:00
CentOS-Stream - Base                                         1.9 MB/s | 2.3 MB     00:01
CentOS-Stream - Extras                                        15 kB/s | 7.0 kB     00:00
인수와 일치하는 항목 없음 : centos-linux-repos
제거 할 수있는 패키지가 없습니다.
Dependencies resolved.
=============================================================================================
 Package                       Architecture   Version            Repository             Size
=============================================================================================
Installing:
 centos-stream-release         noarch         8.4-1.el8          Stream-BaseOS          21 k
     replacing  centos-release.x86_64 8.1-1.1911.0.8.el8
     replacing  centos-release-stream.x86_64 8.1-1.1911.0.7.el8
     replacing  centos-repos.x86_64 8.1-1.1911.0.8.el8
 centos-stream-repos           noarch         8-2.el8            Stream-BaseOS          19 k
Upgrading:
 centos-gpg-keys               noarch         1:8-2.el8          BaseOS                 12 k

Transaction Summary
=============================================================================================
설치        2 Packages
업그레이드  1 Package

...

업그레이드 됨:
  centos-gpg-keys-1:8-2.el8.noarch

설치됨:
  centos-stream-release-8.4-1.el8.noarch          centos-stream-repos-8-2.el8.noarch

완료되었습니다!

$ dnf distro-sync

$ dnf distro-sync
CentOS Stream 8 - AppStream                                  3.5 MB/s | 6.5 MB     00:01
CentOS Stream 8 - BaseOS                                     2.9 MB/s | 2.3 MB     00:00
CentOS Stream 8 - Extras                                     8.9 kB/s | 7.0 kB     00:00
Dependencies resolved.
=============================================================================================
 Package                       Arch   Version                                Repo       Size
=============================================================================================
Installing:
 kernel                        x86_64 4.18.0-269.el8                         baseos    5.2 M
 kernel-core                   x86_64 4.18.0-269.el8                         baseos     35 M
 kernel-modules                x86_64 4.18.0-269.el8                         baseos     27 M
Upgrading:
 PackageKit                    x86_64 1.1.12-6.el8                           appstream 599 k
 PackageKit-glib               x86_64 1.1.12-6.el8                           appstream 140 k
 
 ...
 
 설치됨:
  kernel-4.18.0-269.el8.x86_64
  kernel-core-4.18.0-269.el8.x86_64
  kernel-modules-4.18.0-269.el8.x86_64
  python3-pexpect-4.3.1-3.el8.noarch
  dejavu-sans-mono-fonts-2.35-7.el8.noarch
  elfutils-debuginfod-client-0.182-3.el8.x86_64
  memstrack-0.1.11-1.el8.x86_64
  python3-ptyprocess-0.5.2-4.el8.noarch
  python3-pydbus-0.6.0-5.el8.noarch
  crypto-policies-scripts-20200713-1.git51d1222.el8.noarch
  dejavu-fonts-common-2.35-7.el8.noarch
  grub2-tools-efi-1:2.02-93.el8.x86_64
  libgusb-0.3.0-1.el8.x86_64
  libicu-60.3-2.el8_1.x86_64
  libmodulemd-2.9.4-2.el8.x86_64
  libzstd-1.4.4-1.el8.x86_64
  lmdb-libs-0.9.24-1.el8.x86_64
  python3-nftables-1:0.9.3-16.el8.x86_64

완료되었습니다!

마이그레이션 완료 후 운영체제 버전 정보

redhat release

$ cat /etc/redhat-release
CentOS Stream release 8

커널 버전

(커널은 리부팅 후 확인)

$ uname -r
4.18.0-269.el8.x86_64

gcc, g++ 버전

$ gcc --version
gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


$ g++ --version
g++ (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

 

1 Comments
댓글쓰기 폼