CentOS Stream 10
Sponsored Link

初期設定 : システムを最新化する2024/12/16

 

サーバー運用開始後はシステムのアップデートが難しい場面もありますが、少なくともインストール直後のシステム構築時はシステムを最新化しておきましょう。

[1] ネットワーク経由でアップデートを実行するコマンドは [yum] / [dnf] が用意されていますが、どちらも [dnf-3] へのリンクとして設定されているので実体は同じです。どちらを使用するかは好みでよいでしょう。
[root@dlp ~]#
which yum

/usr/bin/yum
[root@dlp ~]#
ll /usr/bin/yum

lrwxrwxrwx. 1 root root 5 Oct 29 09:00 /usr/bin/yum -> dnf-3
[root@dlp ~]#
which dnf

/usr/bin/dnf
[root@dlp ~]#
ll /usr/bin/dnf

lrwxrwxrwx. 1 root root 5 Oct 29 09:00 /usr/bin/dnf -> dnf-3
[root@dlp ~]#
ll /usr/bin/dnf-3

-rwxr-xr-x. 1 root root 2096 Oct 29 09:00 /usr/bin/dnf-3
# [yum] パッケージ詳細

[root@dlp ~]#
rpm -q yum

yum-4.20.0-9.el10.noarch
[root@dlp ~]#
rpm -ql yum

/etc/dnf/protected.d/yum.conf
/etc/yum.conf
/etc/yum/pluginconf.d
/etc/yum/protected.d
/etc/yum/vars
/usr/bin/yum
/usr/share/man/man1/yum-aliases.1.gz
/usr/share/man/man5/yum.conf.5.gz
/usr/share/man/man8/yum-shell.8.gz
/usr/share/man/man8/yum.8.gz

# 収録ファイルは全て [dnf] へのリンク

[root@dlp ~]#
ll /etc/yum.conf /etc/yum/vars /etc/yum/pluginconf.d

lrwxrwxrwx. 1 root root 12 Oct 29 09:00 /etc/yum.conf -> dnf/dnf.conf
lrwxrwxrwx. 1 root root 14 Oct 29 09:00 /etc/yum/pluginconf.d -> ../dnf/plugins
lrwxrwxrwx. 1 root root 11 Oct 29 09:00 /etc/yum/vars -> ../dnf/vars
[2] サーバー運用開始後はシステムのアップデートが難しい場面も多々ありますが、少なくともインストール直後のシステム構築時は、システムを最新化しておきましょう。
[root@dlp ~]#
dnf -y upgrade

CentOS Stream 10 - BaseOS                       3.8 MB/s | 6.2 MB     00:01
CentOS Stream 10 - AppStream                    3.3 MB/s | 2.4 MB     00:00
CentOS Stream 10 - Extras packages              3.3 kB/s | 3.5 kB     00:01
Last metadata expiration check: 0:00:05 ago on Thu 19 Dec 2024 10:45:34 AM JST.
Dependencies resolved.
================================================================================
 Package                             Arch    Version           Repository  Size
================================================================================
Installing:
 kernel                              x86_64  6.12.0-35.el10    baseos     237 k
Upgrading:
 amd-gpu-firmware                    noarch  20241210-11.el10  appstream   26 M
 amd-ucode-firmware                  noarch  20241210-11.el10  baseos     301 k
 atheros-firmware                    noarch  20241210-11.el10  baseos      31 M
 binutils                            x86_64  2.41-51.el10      baseos     6.4 M
 binutils-gold                       x86_64  2.41-51.el10      baseos     798 k
 bpftool                             x86_64  7.5.0-35.el10     appstream  556 k
 brcmfmac-firmware                   noarch  20241210-11.el10  baseos     9.6 M
 catatonit                           x86_64  5:0.2.0-1.el10    appstream  304 k
 cirrus-audio-firmware               noarch  20241210-11.el10  baseos     1.6 M
 criu                                x86_64  3.19-6.el10       appstream  560 k
 criu-libs                           x86_64  3.19-6.el10       appstream   32 k
 cronie                              x86_64  1.7.0-9.el10      baseos     123 k
 cronie-anacron                      x86_64  1.7.0-9.el10      baseos      33 k
 crun                                x86_64  1.19-1.el10       appstream  244 k
.....
.....
関連コンテンツ