How to UPDATE Linux KERNEL in Two Minutes !

1- To begin create new file “noyau.repo” and save it :

vim /etc/yum.repos.d/noyau.repo

[updates]

name=RedHat updates

baseurl=ftp://Server/ftp/updates

enabled=1

gpgcheck=0

:wq

2- Now, Juste tape this command To force the update :

yum update kernel

 

And It’s DONE !

 

Note:

If you want to keep the old kernel as the default kernel bootable by grub, you have to execute this command :

grub2-set-default 1

Cause, by default the new kernel is used after reboot :

systemctl reboot