Friday, March 1, 2013

Steps to upgrade Cloudlinux kernel in centOS server

First check the current kernel version in the server. You can check this by the command

uname -r

Also, check /etc/grub.conf to see how it is configured.

To upgrade Cloud Linux kernel in the server, all you have to do is

# yum install kernel

This will write the new kernel entries into /etc/grub.conf. Check the grub file for the new entries, and do the following to make the new kernel up when the server
is rebooted.

echo "savedefault --default=0 --once" | grub --batch

shutdown -rf now

After the server is up, check whether the new kernel is up.

# uname -r
2.6.18-408.8.2.el5.lve0.8.61.3

Now, edit /ect/grub.conf and change the default value corresponding to the new kernel.

No comments:

Post a Comment