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 https://repo.cloudlinux.com/kernelcare/kernelcare_install.sh | bash
wget -qq -O - https://repo.cloudlinux.com/kernelcare/kernelcare_install.sh | 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
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