Centos kernel upgrade can support new hardware, solve bugs, improve efficiency, and support new functions; upgrade method: first use the "uname -sr" command to check the current kernel version, and then use yum and other package management systems and official Supported repositories to upgrade the kernel.
The operating environment of this article: centos 7 system, Dell G3 computer.
What is the use of centos kernel upgrade? It is mainly to support new hardware, solve bugs, improve efficiency, and support new functions. , for network, development, and service applications. Because operating systems in the server field have to consider more stability factors, they will not release new versions arbitrarily. Stability and security are the main priorities. Of course, I don’t have to worry about the server of my blog. Upgrading the kernel is just a practice. If you are interested, You can also upgrade it
Check the current kernel version
uname -sr
is not the latest version, then you can upgrade the kernel. There are many ways, and most modern distributions provide a way to upgrade the kernel using a package management system such as yum and an officially supported repository. However, this will only upgrade the kernel to the latest version available in the repository, not the latest version available at https://www.kernel.org/. So we use another method, because CentOS allows the use of the third-party library ELRepo, so we need to enable the ELRepo repository on CentOS 7 to upgrade the latest kernel
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
Recommended tutorial: "centos tutorial 》
The above is the detailed content of What is the use of upgrading the kernel of centos?. For more information, please follow other related articles on the PHP Chinese website!