How to Install or Unsintall KernelCare Like a Pro?

How to Install or Unsintall KernelCare Like a Pro?

With KernelCare, you can automate kernel security updates for you Linux kernel. By doing so, it saves a lot of hours for the admins, who can divert their resources to something else. What's even better is KernelCare updates don't require you to restart your server. So your web services never have to face downtime and you can maintain highest possible uptime. To start using KernelCare, you need to install it first. In this article, learn how to both install and uninstall KernelCare in a proper manner like a professional.

Installing KernelCare

Here are the steps involved in installing KernelCare on any RPM-based system:
  • Open the command line tool
  • Execute this command -
Code:
rpm -i https://downloads.kernelcare.com/kernelcare-latest.x86_64.rpm
  • If you're on Debian system, you need to use this command instead -
Code:
wget https://downloads.kernelcare.com/kernelcare-latest.deb
dpkg -i kernelcare-latest.deb
  • Check for the latest security patch with -
Code:
/usr/bin/kcarectl –info
  • Update the KernelCare with -
Code:
/usr/bin/kcarectl –update
Now you've successfully installed KernelCare.

You won't have to update KernelCare manually since it automatically checks for update every four hours and installs it.

Uninstalling KernelCare

If you want to uninstall KernelCare for some reasons, here are the steps involved:
  • Open the CLI with root privileges.
  • Execute this command -
Code:
yum remove kernelcare
  • This would uninstall KernelCare.
If you simply wanted to stop the auto-updates and not uninstall it, then open the configuration file that's located at /etc/sysconfig/kcare/kcare.conf. Locate the 'AUTO_UPDATE ' parameter and set it to FALSE.

So that's how you should handle KernelCare. Its how the experts do it and you should do the same.
Author
kumkumsharma
Views
1,615
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top