Installing ReadyKernel

  • OpenVZ 7

    If you have OpenVZ 7 update 9 or newer, necessary packages are already available to you in system repositories. Just install readykernel: # yum install -y readykernel
    And activate the service with activation key: # readykernel licload <activation_key>
    Now you can use readykernel tool to look for patches for kernels installed in your machines and install them, if any: # readykernel update
    To enable periodic runs of this command, just launch # readykernel autoupdate enable
  • CentOS 7

    First, install a package that will add repositories with ReadyKernel tools to your system, as well as the public key used to check package signatures: # yum install -y http://repo.virtuozzo.com/readykernel-utils/centos/readykernel-release-7-latest.noarch.rpm
    Now install readykernel tool with its dependencies: # yum install readykernel
    Next, get activation key and activate it using readykernel tool. Root permissions are required: # readykernel licload <activation_key>
    During the first launch, you will be asked to read and accept EULA. Now you can use readykernel tool to look for patches for kernels installed in your machines and install them, if any: # readykernel update
    To enable periodic runs of this command, just launch # readykernel autoupdate enable
  • Troubleshooting

    On CentOS, readykernel update may output the following or a similar error in some cases: Error: Another live patching system detected: 'kpatch' package is installed. It may be unsafe to use both that system and ReadyKernel at the same time.
    It is not recommended to have both ReadyKernel and other live patching systems installed on the same machine. If you intend to use ReadyKernel there, please remove the packages mentioned in that error message first. Example: # yum remove kpatch