[Linux] CentOS update kernel from 2.x to 4.x
Ref1: https://blog.csdn.net/zy_281870667/article/details/78004010
Ref2: http://elrepo.org/tiki/tiki-index.php
(第一次更新remote kernel覺得緊張)
Ref2: http://elrepo.org/tiki/tiki-index.php
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
# 詳細可看 http://elrepo.org/tiki/tiki-index.php
rpm -Uvh http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install -y kernel-lt
vi /etc/grub.conf
# grub.conf generated by anaconda
#
default=0 #一般最新安装的内核在第一个位置,将其修改为 0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
(第一次更新remote kernel覺得緊張)
留言
張貼留言