* Because of the need to learn Docker, Docker's official recommendation kernel uses more than 3.8, so I decided to upgrade the CentOS kernel to a long-term stable version of 3.10.
# #记得切换到root用户执行升级操作. [[email protected] ~]# uname-a # #旧版Linux localhost.localdomain 2.6.32-279.el6.i686 #1 SMP Fri June 10:59:55 UTC 201 2 i686 i686 i386 gnu/linux [[email protected] ~]# rpm--import https://www.elrepo.org/rpm-gpg-key-elrepo.org[[email prote CTED] ~]# rpm-ivh http://www.elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm[[email protected] ~]# Yum-- Enablerepo=elrepo-kernel install kernel-lt-y # #此步会有点慢 [[email protected] ~]# vim/etc/grub.conf default=1 changed to default =0 # #设置默认以3.10 core boot, default is to follow the old core boot [[email protected] ~]# reboot [[email protected] ~]# uname-a # #升级后的版本Linux Localhost.localdomain 3.10.104-1.el6.elrepo.i686 #1 SMP Fri Oct 09:11:59 EDT i686 i686 i386 gnu/linux
Upgrade CentOS kernel-2.6 upgrade to 3.10