Updating Kernel version question

toplisek

Well-Known Member
Jan 7, 2010
165
9
68
I like to run Linux command and update Kernel like:
The system kernel is at version “2.6.32-642.6.1.el6.x86_64”
How to do in the correct way and CentoOS system?

Is it the correct way all the time?
yum -y update
 

lorio

Well-Known Member
Feb 25, 2004
298
14
168
cPanel Access Level
Root Administrator
If kernel packages are not excluded from yum, you can update via yum update. You should get offered kernel packages for updating.

If your system is e.g a virtual server you might not be able to update the relevant kernel from inside your CentOS 6 installation.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hello,

Once you run "yum update" to update the kernel, remember to reboot the system to complete the kernel update. To reboot the server, run the following command:

Code:
reboot
Once the server is started again, you can check the kernel version with the following command:

Code:
uname -r
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Which application should be purchased and used to automatic update Kernel?
Hello @toplisek,

Are you attempting to automatically update the kernel (at which point you will need to reboot the server), or are you referring to the ability to automatically install and run a newer kernel without rebooting the server?

Thanks!