CentOS6免编译yum升级3.10内核

使用elrepo来更新
导入key

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

安装repo

rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm

安装kernel

yum install kernel-lt kernel-lt-firmware kernel-lt-headers

启用新kernel
vi /etc/grub.conf
修改
default=0
查看当前kernel版本

# uname -a
Linux localhost.localdomain 2.6.32-504.30.3.el6.x86_64 #1 SMP Wed Jul 15 10:13:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

重启系统

# uname -a
Linux localhost.localdomain 3.10.84-1.el6.elrepo.x86_64 #1 SMP Sat Jul 11 11:33:48 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux