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

How to upgrade the kernel of centos system

王林
王林Original
2020-03-19 18:28:463467browse

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源

(recommended tutorial : centos usage tutorial)

2. Check the available kernel-related packages

yum --disablerepo="*" --enablerepo="elrepo-kernel" list available

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

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!

Statement:
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