OS服务器我只使用CentOS,然后需要elrepo.org上更新kernel-ml。 rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm #or CentOS6 rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm sudo yum --enablerepo=elrepo-kernel install kernel-ml 然后,修改启动的内核顺序: #CentOS7 #查看默认启动顺序 awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg #设置启动顺序,0为第一个 sudo grub2-set-default 0 #or CentOS6编辑grub.conf文件里的default即可 vi /etc/grub.conf Last modification:June 4, 2017 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 送杯咖啡,做个交流,谢谢!
Comment here is closed