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
Step two: Update nss (Network Security Services)
yum -y update nss
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
Step Four: Source lt core mounted elrepo
yum --enablerepo=elrepo-kernel -y install kernel-lt
Step Five: /etc/grub.conf modify the file, the modified default = 1 default = 0
vim /etc/grub.conf
Step 6: After save and exit, restart the virtual machine
reboot
Review upgraded version of the kernel