Install New Kernel In RHEL 7 (CentOS 7) | How To Update Kernel To 5.5 in RHEL 7 (CentOS 7)



Install New Kernel In RHEL 7 (CentOS 7) | How To Update Kernel To 5.5 in RHEL 7 (CentOS 7)

Install New Kernel In RHEL 7 (CentOS 7) | How To Update Kernel To 5.5 in RHEL 7 (CentOS 7)

How to Update Kernel in RHEL 7 Or CentOS 7:
————————————————————————
Step 1: Checking Installed Kernel Version
When we install a distribution it includes a certain version of the Linux kernel. To show the current version installed on our system we can do:
# uname -a

Step 2: Upgrading Kernel in CentOS 7
To enable the ELRepo repository on CentOS 7, do:
# rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
# rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm

Once the repository has been enabled, you can use the following command to list the available kernel.related packages:
# yum –disablerepo=”*” –enablerepo=”elrepo-kernel” list available

Next, install the latest mainline stable kernel:
# yum –enablerepo=elrepo-kernel install kernel-ml

Step 3: Set Default Kernel Version in GRUB
See the default boot kernel details in /boot/grub2/grubenv file.
# cat /boot/grub2/grubenv
you can edit this file to set the default kernel.

OR
To make the newly-installed version the default boot option, you will have to modify the GRUB configuration as follows:
Open and edit the file /etc/default/grub and set GRUB_DEFAULT=0. This means that the first kernel in the GRUB initial screen will be used as default.
# vim /etc/default/grub
GRUB_DEFAULT=0

OR
# grub2-set-default 0

Next, run the following command to recreate the kernel configuration.
# grub2-mkconfig -o /boot/grub2/grub.cfg

Reboot and verify that the latest kernel is now being used by default.
================
Thanks for watching the video. Please like our videos, share with your friends and feel free to ask anything, post your queries in comments section. We will be glad to answer your queries. Don’t forget to subscribe the channel & turn on the bell notifications.
===============
*****
Join this channel to get access to perks:
https://www.youtube.com/channel/UCvk2…
*****
My DSLR Camera: https://amzn.to/36954Ml
My Boya Microphone: https://amzn.to/3mZavTS
My iPhone: https://amzn.to/3lWa63j
My Gaming Router: https://amzn.to/3j3dQON
My FireStick: https://amzn.to/345150F
My Head-Phone: https://amzn.to/3ie4rDB
******
My Dream Laptop: https://amzn.to/37j11fp
My Dream TV: https://amzn.to/2KR32b4
My Dream IPhone: https://amzn.to/36j8oE1
******
Contact Us:
WhatsApp: https://bit.ly/2Kpqp5z
Telegram Channel: https://t.me/NehraClasses
Email: [email protected]
******
Follow Us On Social Media Platforms:
Twitter: https://twitter.com/nehraclasses/
Facebook Page: https://www.facebook.com/nehraclasses/
Instagram: https://www.instagram.com/nehraclasses/
Website: https://nehraclassesonline.business.s…
=======
©COPYRIGHT. ALL RIGHTS RESERVED.

#NehraClasses

Comments are closed.