CentOS is the best Linux os available in market. Due to its easy to use functionality, in most of the Web server it is deployed. Yum is one of the Linux command which makes the user job easier to update things or to install different compatible software’s. In this short tutorial I will show you how to update kernel in just two easy steps.
How To:
First: Login to SSH
Second: Run the command below to update kernel
Command:
yum update kernel
If a new update is available it will notify like below:
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
–> Running transaction check
—> Package kernel.x86_64 0:2.6.18-274.18.1.el5 set to be installed
–> Finished Dependency ResolutionDependencies Resolved
============================
Package Arch Version Repository Size
============================
Installing:
kernel x86_64 2.6.18-274.18.1.el5 updates 21 MTransaction Summary
======================
Install 1 Package(s)
Upgrade 0 Package(s)Total download size: 21 M
Is this ok [y/N]:
Just press Y and click enter to auto complete the kernel update process.