How to Install and add KernelCare’s Free Symlink Protection?

Helposoft Staff

Administrator
Staff member
Points
178
KernelCare offers live kernel patching and additional security features, including symlink protection. Here’s how to reinstall KernelCare and enable the Free Symlink Protection.

1. Uninstall KernelCare

First, you need to remove any existing KernelCare installation:

Code:
yum remove kernelcare

2. Reinstall KernelCare

  1. Download and Install KernelCare
    Use the following command to reinstall KernelCare:

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

  2. Set Patch Type and Update
    After installation, configure KernelCare to use the Free patch type and update:

    Code:
    kcarectl --set-patch-type free --update

    Note: In some cases, you might see the following message:

    Code:
    'free' patch type is unavailable for your kernel

    This message indicates that KernelCare does not yet support your current kernel version, which might be due to recent kernel updates. In such cases, you might need to wait for KernelCare to provide support for the latest kernel versions.

3. Enable Free Symlink Protection

  1. Edit KernelCare Configuration
    Modify KernelCare's configuration file to enable Symlink Protection:

    Code:
    nano /etc/sysconfig/kcare/kcare.conf

    Add the following line to the configuration file:

    Code:
    KCARE_SYMLINK_PROTECTION=1

    Save the file and exit the editor.
  2. Restart KernelCare Service
    Apply the changes by restarting the KernelCare service:

    Code:
    systemctl restart kcare

    If your system doesn’t use systemd, restart the service using:

    Code:
    service kcare restart

4. Verify Symlink Protection

  1. Check the Status
    Verify that KernelCare and Symlink Protection are active:

    Code:
    kcarectl --info

    Look for indications that Symlink Protection is enabled.
  2. Test Protection
    To ensure that Symlink Protection is functioning, follow KernelCare’s guidelines for testing symlink protection or consult their support for specific instructions.

Additional Information

  • KernelCare Support: If the 'free' patch type is not available for your kernel, check the KernelCare patches page for updates or contact KernelCare support for more information.
  • Documentation: Refer to the KernelCare Documentation for the latest features and troubleshooting tips.
By following these steps, you will have KernelCare reinstalled with Free Symlink Protection enabled. If you encounter any issues or need further assistance, KernelCare’s support team can provide additional help.


 
Last edited:
Top