Skip to main content

How to update kernel of CloudLinux.

Comments

6 comments

  • 24x7ss
    No I don't think there is any more precautions needed. You can go with yum update kernel option and update the kernel and once done then reboot the server.
    0
  • sadasan
    Hello, Thank you for your reply. What do you mean "I don't think there is any more precautions needed."? Thank you.
    0
  • 24x7ss
    Hello, Running "yum update kernel" will install the newer kernel on your system. Once the new kernel is installed, login to grub and make the server bootable with new kernel on next reboot only by doing below: fire grub command then at grub prompt, do below: grub> savedefault --default=0 --once grub> exit then reboot your server once and it should be booted from newer kernel. Once it is up, login as root, edit /etc/grub.conf file and set the default=0. If the server doesn't come up after first reboot, login to your dc panel and reboot it again, and it will boot from the kernel whichever is set in /etc/grub.conf at default=x option. Then you can diagnose why the server failed to boot from newer kernel. But, after installing new kernel and setting default=0 in grub.conf and rebooting it should work just fine and that's why I said "I don't think there is any more precautions needed."
    0
  • sadasan
    Hello, Thank you for detailed explanation. I could update kernel to the latest version.:)
    0
  • cPanelMichael
    Hello :) I am happy to see you were able to successfully update your kernel. Thank you for updating us with the outcome.
    0
  • perplex
    @24x7ss Thank you so much! I've been looking high and low to try and work out how to update server kernel to latest version. Kernel updates appear to have stopped loading from /boot when KernelCare trial ended! I can confirm solution here worked on Linux CentOS 7, upgrading from ( 3.10.0-514.26.2.el7.centos.plus.x86_64 x86_64 ) to ( 3.10.0-1160.62.1.el7.centos.plus.x86_64 x86_64 ).
    0

Please sign in to leave a comment.