CentOS6.X 升级内核

 

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

安装 kernel-lt(lt=long-term)

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

或者安装kernel-ml(ml=mainline)

yum --enablerepo=elrepo-kernel install kernel-ml -y
vi /etc/grub.conf
设置default=0,表示启动新内核


如果网络慢 先下载包:

wget http://elrepo.org/linux/kernel/el6/x86_64/RPMS/kernel-lt-4.4.110-1.el6.elrepo.x86_64.rpm
rpm -ivh kernel-lt-4.4.110-1.el6.elrepo.x86_64.rpm

您可以选择一种方式赞助本站

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

图片 表情