One place for hosting & domains


      What Is a Kernel?

      The kernel is a core component of an operating system and serves as the main interface between the computer’s physical hardware and the processes running on it. The kernel enables multiple applications to share hardware resources by providing access to CPU, memory, disk I/O, and networking.

      Imagine a computer as comprising a series of layers, with the innermost layer being the hardware, and the outermost layers being the software applications running on the computer. In this analogy, the kernel is positioned between the hardware and the applications because it’s not only responsible for managing the hardware’s resources and executing software programs, but also for overseeing the interactions between these layers.

      Modern computers divide memory into kernel space and user space. User space is where application software is executed, while the kernel space is dedicated to the behind-the-scenes work needed to run a computer, like memory allocation and process management. Because of this separation of kernel and user spaces, the work done by the kernel isn’t typically visible to the user.

      Source link

      How to Update your Linux Kernel

      Updated by Linode Contributed by Linode

      Which Kernel Am I Running?

      Your Linode is capable of running one of three kinds of kernels:

      • An upstream kernel that is maintained and provided by your Linux distribution’s authors (this is also referred to as the distribution-supplied kernel).

      • The Linode kernel. Linode maintains an up-to-date kernel: Linode’s engineering team monitors for new versions of the Linux kernel and then packages them for users shortly after they are available. These kernels are not installed on your filesystem–instead, the Linode Manager supplies them to your system when it boots.

      • A kernel that you compile from source.

      The steps needed to update your kernel vary by which kind you are using. To find out which type you’re using, SSH into your Linode and run the following command:

      uname -r

      If your output contains linode in the version tag, then you are running the Linode kernel:


      If your output contains generic in the version tag, then you are probably running a distribution-supplied kernel:


      Update your Linode Kernel

      1. Log in to the Linode Manager.

      2. Navigate to the Linode’s Dashboard and edit the configuration profile.

      3. Under Boot Settings, select Latest 64 Bit and click Save Changes.

      4. Reboot your Linode and verify the kernel version:

        uname -r

      Update your Distribution-Supplied Kernel

      If you boot your Linode using the GRUB2 or Direct Disk boot setting, your kernel is supplied by your distribution’s maintainers, not Linode. If you’ve compiled your own kernel, download a new set of kernel sources and recompile.

      Update your kernel to the latest available version using the distribution’s package manager:


      sudo yum update kernel


      sudo apt-get update
      sudo apt-get upgrade linux-base


      sudo apt-get update
      sudo apt-get upgrade

      Reboot the Linode. When it comes back up, use the command uname -r to verify which version you are running. It’s recommend that you compare your new kernel version against the patched version given in your distribution’s security bulletin: CentOS; Debian; Ubuntu.

      Join our Community

      Find answers, ask questions, and help others.

      This guide is published under a CC BY-ND 4.0 license.

      Source link