[email protected]Support 24/7 · Billing 09:00 – 00:00LinkedInXFacebook
NexonHost
Netherlands Dedicated ServersAmsterdam · Equinix AM6Germany Dedicated ServersFrankfurt · Equinix FR4Romania Dedicated ServersBucharest · VoxilityAustria Dedicated ServersVienna · Interxion VIEBulgaria Dedicated ServersSofia · TelepointFrance Dedicated ServersParis · Interxion PAR — Marseille · Digital Realty MRS3Ireland Dedicated ServersDublin · Equinix DB2Italy Dedicated ServersMilan · Irideos AvalonPoland Dedicated ServersWarsawSpain Dedicated ServersMadrid · Equinix MD2United States Dedicated ServersAshburn · Equinix DC
All articles
Getting startedSeptember 11, 2023

How to Setup Automatic Kernel.

How To Setup Automatic Kernel.

This article explains how to set up automatic rebootless kernel updates using the live patching solutions from Canonical and CloudLinux.

 

Canonical Livepatch

Canonical Livepatch is a service that patches the running kernel without having to reboot your Ubuntu system. Livepatch service is free to use, up to three Ubuntu systems. To use this service on more than three computers, you’ll have to subscribe to the Ubuntu Advantage program.

Before installing the service, you need to get a livepatch token from the Livepatch Service site .

Once you have the token install and enable the service by running the following two commands:

sudo snap install canonical-livepatch
sudo canonical-livepatch enable <your-key>

To check the status of the service, run:

sudo canonical-livepatch status --verbose

Later if you want to deregister a machine, use this command:

sudo canonical-livepatch disable <your-key>

The same instructions apply for Ubuntu 20.04 and Ubuntu 18.04.

 

KernelCare

KernelCare is a great option for hosting providers and businesses.

KernelCare runs on Ubuntu, CentOS, Debian, and other popular flavors of Linux. It checks for patch releases every 4 hours and installs them automatically. Patches can be rolled back. KernelCare is free for non-profit organizations.

To install KernelCare run the installation script:

wget -qq -O - https://kernelcare.com/installer | bash

If you are using an IP-based license, nothing else is required to be done. Otherwise, if you are using a key-based license, run the following command to register the service:

/usr/bin/kcarectl --register <your-key>

Where <your-key> is the registration keycode string provided when you sign up for the trial or purchase the product. You can get it on this page .

Below are some useful KernelCare commands:

  • To check if the running kerne is supported by KernelCare:

    curl -s -L https://kernelcare.com/checker | python
  • To deregister a server:

    sudo kcarectl --unregister
  • To check the status of the service:

    sudo kcarectl --info
  • The software will automatically check for new patches every 4 hours. To update manually, run:

    /usr/bin/kcarectl --update

 

Conclusion

The Live Patching technology allows you to apply patches to the Linux Kernel without rebooting.

Keep reading
How to Install and Use Curl on Debian 10
March 16, 2023

How to Install and Use Curl on Debian 10

How To Install And Use Curl On Debian 10 This guide explains how to install and use the curl command on Debian 10, Buster. If you are trying to download a file using curl and getting an error message saying curl command not found it simply means that the curl package is not installed on…

Read article
How to Truncate (Empty) Files in Linux
March 16, 2023

How to Truncate (Empty) Files in Linux

How To Truncate (Empty) Files In Linux This tutorial explains how to truncate files to zero size in Linux systems using shell redirection and the truncate command. In some situations, you might want to truncate (empty) an existing file to a zero-length. In simple words, truncating a file means…

Read article
How to use pushd &#038; podp command.
March 15, 2023

How to use pushd &#038; podp command.

How To Use Pushd & Podp Command. In this tutorial, we will show you how to use the pushd and popd commands to navigate your system’s directory tree. pushd and popd are commands that allow you to work with directory stack and change the current working directory in Linux and other Unix-like…

Read article
Get in Touch

Together, Let’s Build a Faster, Safer Internet.

Build scalable infrastructure with NexonHost — high-performance dedicated servers, VPS hosting, cloud hosting, and DDoS protection across Europe.

Get Started →Contact Us
[email protected]Support 24/7 · Billing 09:00 – 00:00