Home > Operation and Maintenance > CentOS > How to upgrade the kernel of centos system

How to upgrade the kernel of centos system

王林
Release: 2020-03-19 18:28:46
Original
3422 people have browsed it

How to upgrade the kernel of centos system

centos7 upgrade method:

1. Import the key of elrepo, and then install the yum source of elrepo:

rpm -import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org ###key
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm   ###yum源
Copy after login

(recommended tutorial : centos usage tutorial)

2. Check the available kernel-related packages

yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
Copy after login

3. Install the kernel (I will use the latest one here) and how to continue to upgrade directly in the future Just use the following command

yum -y --enablerepo=elrepo-kernel install kernel-ml.x86_64 kernel-ml-devel.x86_64
Copy after login

Related video tutorial sharing: linux video tutorial

The above is the detailed content of How to upgrade the kernel of centos system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template