computerの日記

Cisco,SHELL,C,Qt,C++,Linux,ネットワーク,Windows Scriptなどの発言です

CentOS 7.3 を CR (Continuous Release) を使って7.4 相当にアップグレード

こんにちは、私です。

以下を参考に、CentOS7.3 を CR(Continuous Release) を使ってアップグレードしてみました。
https://wiki.centos.org/AdditionalResources/Repositories/CR

CentOS 5,6,7 でやり方が異なる。
CentOS 7 の場合、
現在のバージョンを確認する。
# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)
まず、すべてをアップデートする。
# yum update
# yum-config-manager --enable cr

# yum repolist
(表示例です)
base
cr
extras
updates
cr/7/x86_64/primary_db
Determining fastest mirrors
* base: ftp.nara.wide.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,363
cr/7/x86_64 CentOS-7 - cr 3,838
extras/7/x86_64 CentOS-7 - Extras 451
updates/7/x86_64 CentOS-7 - Updates 2,146
repolist: 15,798 CentOS-7 - Updates 2,146

となっていればよい。こちらでも確認する。
# cat /etc/yum.repos.d/CentOS-CR.repo
enabled=1
となっていればよい。
では、CentOS7.4 に CR をつかってアップデートする。
# yum update
現在のバージョンを確認する。
# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)

7.3 のままだけど、CR としては 7.4 になったということか。

お疲れさまです、私でした。
次回をお楽しみに。