가. 임시로 kernel 을 제외
# dnf update --exclude=kernel*
이렇게 하면 지금은 괜찮지만, 다음에 업데이트 매번 입력하거나, 누락시킬 가능성이 높다
나. 영구적으로 kernel 을 제외
# vi /etc/dnf/dnf.conf
-------------------------
[main]
gpgcheck=1
installonlylimit=3
exclude=kernel*
------------------------
와 같이 exclude=kernel* 을 추가 하여 저장 한다.
# dnf update -y
Rocky Linux 8 - AppStream 8.1
Rocky Linux 8 - AppStream 27
Rocky Linux 8 - BaseOS 7.0
Rocky Linux 8 - BaseOS 39
Last metadata expiration check: 0:00:08 ago on Mon 18 May 2026 03:56:54 PM KST.
Dependencies resolved.
=====================================================================================================================================================================================
Package Architecture Version Repository
=====================================================================================================================================================================================
Upgrading:
NetworkManager x86_64 1:1.40.16-20.el8_10 baseos
NetworkManager-config-server noarch 1:1.40.16-20.el8_10 baseos
NetworkManager-libnm x86_64 1:1.40.16-20.el8_10 baseos
...
...
yum noarch 4.7.0-21.el8_10 baseos
Installing dependencies:
grub2-tools-efi x86_64 1:2.02-170.el8_10.1.rocky.0.2 baseos
Transaction Summary
=====================================================================================================================================================================================
Install 1 Package
Upgrade 296 Packages
Total download size: 926 M
Downloading Packages:
(1/297): PackageKit-glib-1.1.12-8.el8_10.x86_64.rpm 2.0
(2/297): bind-libs-9.11.36-16.el8_10.7.x86_64.rpm 4.4
...
...
Installed:
grub2-tools-efi-1:2.02-170.el8_10.1.rocky.0.2.x86_64
Complete!
# reboot
'🖥️IT지식 > 서버관련 설정' 카테고리의 다른 글
| Ubuntu ufw 사용 (0) | 2026.05.27 |
|---|---|
| [Rocky Linux] SSH 접근시 비밀번호 3회 틀리면 1분간 재접속 금지 (0) | 2026.05.20 |
| KT-Claud Linux OS Disk 확장 (0) | 2026.05.13 |
| [Rocky Linux] Firewall-cmd 간략 사용법 (0) | 2026.05.11 |
