yum升级CentOS 6.5 kernel至3.10.52

we will use ELRepo to install kernel

 

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

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

 [elrepo-kernel]

name=ELRepo.org Community Enterprise Linux Kernel Repository - el6
baseurl=http://elrepo.org/linux/kernel/el6/$basearch/
http://mirrors.coreix.net/elrepo/kernel/el6/$basearch/
http://jur-linux.org/download/elrepo/kernel/el6/$basearch/
http://repos.lax-noc.com/elrepo/kernel/el6/$basearch/
http://mirror.ventraip.net.au/elrepo/kernel/el6/$basearch/
mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo-kernel.el6
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0

 

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

yum升级CentOS 6.5 kernel至3.10.52_第1张图片


4. vi /etc/grub.conf

 yum升级CentOS 6.5 kernel至3.10.52_第2张图片

5. reboot

你可能感兴趣的:(yum升级CentOS 6.5 kernel至3.10.52)