Centos 7 Linux Kernel Version
Feb 19, 2019 C entOS, a free, repackaged version of the business-oriented Red Hat Enterprise Linux, is widely used by numerous people across the globe for many reasons. From simple workstations to powerful web servers, CentOS can handle whatever you throw at it. In many of these use cases, it can be beneficial to upgrade the Linux kernel from the default kernel version of 3.10 (as of CentOS 7.6). Aug 05, 2019 In this article, we are discussing how to check the kernel version in both Ubuntu and CentOS Linux. The following command works with all Linux distributions, such as Red Hat, CentOS, Debian, and Ubuntu. It also works on other UNIX-like operating systems such as HPUX, FreeBSD, OpenBSD, Solaris.
Introduction
In this article we are going to discuss on How to Upgrade/Update latest Linux Kernel Version in RHEL/CentOS 7. Before that let’s understand what is Kernel. Kernel is nothing but a base of any operating system or we can say core part of a operating system. It’s interact with your all Hardware devices like Motherboard, Hard-disks, System Memory, I/O devices like Keyboard, Mouse..etc and manage it. As we know that BIOS (Basic Input/Output System) which is responsible for initialize all hardware and load the kernel in to system memory and Kernel is the first program starts at system startup by loading in to memory then starts the Operating System and then start all services.
CentOS 7 comes with Kernel Version 3.10.0-229.el7.x86_64. Let’s Upgrade the kernel to Latest version for new updates, Features and make the system performance more better.
We have to use Third party community application i.e. ELRepo to update the kernel in RHEL/CentOS 7 as by default Redhat/CentOS don’t allow to update the kernel version. ELRepo is a community which creates updated stable kernel, Hardware Firmware’s and drivers ( for eg: Graphic Card, LAN Card, Sound Card..etc.) and other packages.
Also Read :
HOW TO CONFIGURE BASIC AUTHENTICATION IN APACHE WEB SERVER
HOW TO CONFIGURE XRDP REMOTE DESKTOP SERVER IN RHEL/CENTOS 7
Follow the below Steps to Update Linux Kernel Version
To check the current kernel version we can use uname command. As shown on the out put below currently we have installed the operating system with Kernel Version 3.10.0-229.el7.x86_64.
Step : 1 Install Required Packages
To update the Linux Kernel Version we have to RPM GPG Key, So follow the below command to do the same.
Now Install ELRepo third-party community package which will help us to update the kernel to latest version. So refer the below command to install the elrepo-release package.
Note : By-Default RHEL/CentOS 7 don’t allows to update the kernel version.
Step : 2 Install Latest Stable Linux Kernel Version
As we can see on the output above we successfully installed the latest version of elrepo-release package, Now let’s go ahead and install Latest linux kernel version by using below command.
Latest linux kernel i.e. kernel-ml.x86_64 0:4.10.1-1.el7 installed successfully, now reboot the system to check and confirm the Linux Kernel Version.
Step : 3 Confirm the Updated Kernel Version
Rhel 7 Kernel Versions
After reboot the system as usual you will able to see the below screen at system startup which is showing that our linux kernel has been updated to version : 4.10.1-1.el7.elrepo.x86_64. Just select the updated Kernel which is highlighted below and Press ENTER.
How To Check Kernel Version Linux
After login the Operating System open the terminal and run the below command to check the latest linux kernel version.
Also you can use the below command to check kernel version.
So This is how we can update the Latest Stable Linux Kernel Version in RHEL/CentOS 7 .
If you found this article useful then Like Us, Share Us, Subscribe our Newsletter OR if you have something to say then feel free to comment on the comment box below.