kernel too old

CentOS 6.8 kernel upgrade

When using docker run a mirror, there FATAL: kernel too old (too old kernel), should a kernel upgrade.
Step 1: Check the host kernel version information

uname -r

Here Insert Picture Description
Step two: Update nss (Network Security Services)

yum -y update nss

Here Insert Picture Description
The third step: upgrading the kernel needs elrepo yum source, its source all the installation, the first key is introduced elrepo

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm

Here Insert Picture DescriptionStep Four: Source lt core mounted elrepo

yum --enablerepo=elrepo-kernel -y install kernel-lt

Here Insert Picture Description
Step Five: /etc/grub.conf modify the file, the modified default = 1 default = 0

vim /etc/grub.conf

Here Insert Picture Description
Step 6: After save and exit, restart the virtual machine

reboot

Review upgraded version of the kernel
Here Insert Picture Description

Published 23 original articles · won praise 23 · views 2437

Guess you like

Origin blog.csdn.net/qq_38042187/article/details/105177991
Old