KernelCare Setup Guide for Rebootless Security Updates

Optional live kernel patching for dedicated servers and VPS instances — automate kernel security updates without requiring server reboots.

What is KernelCare?

KernelCare by TuxCare is an optional live kernel patching service that allows Linux servers to receive security patches without rebooting the system. Instead of requiring downtime after every kernel update, patches are applied directly to the running kernel in memory.

This helps administrators:

  • Apply critical kernel security updates without downtime

  • Keep systems protected against newly discovered vulnerabilities

  • Reduce maintenance windows and reboot-related interruptions

  • Automate kernel patch management

KernelCare automatically checks for and applies updates every 4 hours by default.


Compatibility

KernelCare supports many modern 64-bit Linux distributions, including:

  • CentOS 7

  • AlmaLinux 8 / 9

  • Rocky Linux 8 / 9

For the latest supported kernels and operating systems, check the official TuxCare compatibility list:

Supported Kernels List

Supported Virtualization Types

Recommended virtualization platforms include:

  • KVM

  • Xen

  • VMware

  • Bare metal / dedicated servers

OpenVZ container environments are not directly supported at the VPS container level.


How Kernel Updates Normally Work

Without live patching, Linux kernel updates typically require:

  1. Updating the kernel package via YUM or DNF

  2. Rebooting the server to load the new kernel

This can result in downtime for websites, applications, and connected users.

KernelCare eliminates the reboot requirement by patching the running kernel directly in memory.


Installation

KernelCare offers a free trial period. After the trial expires, a paid license is required to continue receiving updates.

Step 1 — Obtain a License Key

Register for an account and obtain a license key from:

TuxCare Official Website

Step 2 — Install KernelCare

Run the installer via SSH:

curl -s https://repo.cloudlinux.com/kernelcare/kernelcare_install.sh | bash

Step 3 — Register Your License

Replace YOURKEY with your actual license key:

kcarectl --register YOURKEY

KernelCare will then automatically check for new patches every 4 hours.


Configuration

The main configuration file is located at:

/etc/sysconfig/kcare/kcare.conf

Default automatic update setting:

AUTO_UPDATE=True

Common Commands

Check Installed Version

kcarectl --version

Manually Check and Apply Updates

kcarectl --update

Show Patch Status

kcarectl --info

Example output:

kpatch-state: patch is applied

View Detailed Patch Information

kcarectl --patch-info

This command displays applied security patches, CVE identifiers, and CVSS scores.


Kernel Version Information

KernelCare does not replace the original kernel version shown by uname -r.

Show Original System Kernel

uname -r

Show Patched KernelCare Version

kcare-uname -r

This displays the live-patched kernel version currently running in memory.


Command Reference

Command Description
kcarectl --version Show installed KernelCare version
kcarectl --update Check and apply updates manually
kcarectl --info Show patch status and kernel information
kcarectl --patch-info Display detailed patch and CVE information
kcarectl --register YOURKEY Register license key
kcare-uname -r Show patched kernel version
uname -r Show original system kernel version

Uninstalling KernelCare

To remove KernelCare:

yum remove kernelcare -y

After removal, future kernel updates will again require server reboots.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to restrict direct root access in Linux

We can do it just in two steps. Step One: At first we will create new root user as follows (for...

How to extract .tar.gz files in Linux/UNIX OS

A tarball is a group of files that are bundled together using the tar command. Use the...

How to add welcome message when SSH start?

You need to change the contents of /etc/motd. Unfortunately, by default, /etc/motd is a link to...

How to change root password when SSH logged in

Run the following command: passwd Now type your new passwordOnce done, retype new passwordDone!...

How to install Pinguzo on any Linux/UNIX OS

Login to Pinguzo panel using Softaculous account or create an account of Pinguzo To add new...