How to Install KernelCare on cPanel/WHM server

To install KernelCare, you need to log in with the root user on your cPanel server.

Check for compatible kernels.
Before you purchase and install KernelCare, make certain that your system possesses a compatible kernel.|
To do this, read the KernelCare documentation.

Choose and run your preferred command.
You can choose between two different SSH commands to begin the KernelCare installation process.
To begin the KernelCare installation process, run one of the following commands:

curl -s | bash

wget -qq -O - | bash

Register the license key.

You can skip this step if you purchased a KernelCare license from the cPanel Store.
KernelCare licenses use IP-based licensing, which you don’t need to register.

The KernelCare license key deploys and registers your server. To register your key, run the following command:

/usr/bin/kcarectl --register $kc_key

Check for applied patches.

After you register KernelCare, you will need to check for applied patches.
This ensures that the automated kernel security updates ran properly on your server.
To check for applied patches, run the following command:

/usr/bin/kcarectl --info
Manually check for patch updates.

KernelCare will automatically check for new patches every four hours.
If you want to check for new patches yourself, run the following command:

/usr/bin/kcarectl --update


  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix lveinfo database error of CLN

Run the following command: service lvestats stoptar -zcvf /root/lveinfo_backup_$(date...

Switching all cPanel acc/s to "inherit" PHP version

You can change all cPanel users to inherit with this CLI command: for each in `cat...

How to fix issues like PHP selector not available

Some of our clients face the issues like "PHP selector not available" on cPanel accounts of their...

CloudLinux installed, but still showing CentOS

Some of our clients face the issue, that's why we're writing the tutorial to fix it. First of...

How to fix boot problem because of CLN kernel

Some of our clients contacted us recently about the boot problem of their server after installing...