We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924

How to Harden Your cPanel System’s Kernel

How to Harden Your cPanel System’s Kernel


  • cPanel-provided hardened kernel update deprecated in cPanel & WHM version 68.
  • The cPanel-provided kernel update will not work for container-based systems like OpenVZ®,Virtuozzo® etc
  • This document only applies to systems installed with CentOS 6 64-bit systems.
  • We strongly suggest that only experienced System Administrators perform this process.

To harden your cPanel system’s kernel, log in to your server as the root user via SSH and perform the following steps:

# cd /etc/yum.repos.d/   
# wget https://securedownloads.cpanel.net/cPkernel/cPkernel.repo
# yum -y update kernel

After you update the kernel, you must restart the system to complete the kernel update. To reboot the server, run the reboot command.

After you reboot the server, verify that the cPanel Hardened Kernel update succeeded with below command :

# uname -r

If the command’s output includes cpanel in the returned value, you successfully updated the kernel.

Leave a Reply

Your email address will not be published. Required fields are marked *

Post navigation

Previous Post :