Main Menu

Search

Wednesday, September 4, 2024

ORACLE LINUX: How To Upgrade Oracle Linux 8 (OL8) UEK6 Kernel To UEK7 Kernel?

Following are steps to upgrade OL8 from UEK6 to UEK7 Kernel.

1) List all the Repositories to check with repos are enabled and which are disabled.

dnf repolist all

2) Disabled all the repos which are enabled

find /etc/yum.repos.d -type f -exec sed -i -e 's/enabled=1/enabled=0/g' {} \;

3) Enable OL8 UEK7 kernel repo which is OL8_UEKR7

For this use below commands.

sudo dnf config-manager --enable ol8_UEKR7
sudo dnf config-manager --enable ol8_UEKR7_RDMA
sudo dnf config-manager --enable ol8_baseos_latest

4) Update the UEK kernel to UEK7

For this run below command.

sudo dnf install -y kernel-uek

Above steps should upgrade the kernel to latest OL8 UEK7 kernel.

Optional Step: If the OS and other packages have to be updated to latest version of the packages, perform dnf update as follows:

sudo dnf update -y

No comments:

Post a Comment