LoginSignup
1
1

More than 3 years have passed since last update.

CentOSの更新情報を公式RSSで取得する

Last updated at Posted at 2021-01-27

CentOSの更新情報の公式RSSを取得したいと思っていたけど、ネットで探してもあまり日本語情報がなかったので
記事にしました。

結論

基本CPUはx86_64(Intel, AMD 64ビット).
OSインストール時に有効なリポジトリのみかと思いますので、下記RSSを受信します。

CentOS7

https://feeds.centos.org/centos-7-x86_64-extras.xml
https://feeds.centos.org/centos-7-x86_64-updates.xml
※ centos7はbaseなかった。

CentOS8

https://feeds.centos.org/centos-8-x86_64-extras.xml
https://feeds.centos.org/centos-8-x86_64-BaseOS.xml
https://feeds.centos.org/centos-8-x86_64-AppStream.xml

CentOS公式RSSの一覧

ここでRSSの一覧を確認できます。
(最近作られた?以前はなかったような。もし知ってる方がいたら教えてください。)

見方

centos-7-x86_64-updates.xml

項目
OS centos-7
CPU x86_64
リポジトリ updates

になります。
OS毎、CPU毎にRSSがわかれてます。

CPUの種類

種類 説明
x86_64 Intel, AMD 64ビット
ppc64le PowerPC
AArch64 ARMv8-A

リポジトリの種類

CenOSのyumリポジトリを見れば、有効(enabled=1)になっているリポジトリがわかるので、
それをもとに、取得したいRSSを選びます。

下記はCenOS7の場合です。

$ ll /etc/yum.repos.d
合計 84
-rw-r--r-- 1 root root 1664  4月  8  2020 CentOS-Base.repo
-rw-r--r-- 1 root root 1309  4月  8  2020 CentOS-CR.repo
-rw-r--r-- 1 root root  649  4月  8  2020 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  630  4月  8  2020 CentOS-Media.repo
-rw-r--r-- 1 root root 1331  4月  8  2020 CentOS-Sources.repo
-rw-r--r-- 1 root root 7577  4月  8  2020 CentOS-Vault.repo
-rw-r--r-- 1 root root  314  4月  8  2020 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  616  4月  8  2020 CentOS-x86_64-kernel.repo

ちょっとでも参考になれば嬉しいです。

情報源

1
1
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
1
1