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!