rpm--importhttps://www.elrepo.org/RPM-GPG-KEY-elrepo.org//导入publickey rpm-Uvh//安装ELRepo到CentOS6中 yum--enablerepo=elrepo-kernelinstallkernel-lt//安装内核 更改/etc/grub.conf,将default=1改为default=0 vim/etc/grub.conf default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu titleCentOS(3.10.92-1.el6.elrepo.x86_64) root(hd0,0) kernel/vmlinuz-3.10.92-1.el6.elrepo.x86_64roroot=/dev/mapper/vg_linmu-lv_rootrd_NO_LUKSrd_NO_MDrd_LVM_LV=vg_linmu/lv_swapcrashkernel=auto.UTF-8rd_LVM_LV=vg_linmu/lv_rootKEYBOARDTYPE=pcKEYTABLE=usrd_NO_DMrhgbquiet initrd/initramfs-3.10.92-1.el6.elrepo.x86_64.img titleCentOS(2.6.32-358.el6.x86_64) root(hd0,0) kernel/vmlinuz-2.6.32-358.el6.x86_64roroot=/dev/mapper/vg_linmu-lv_rootrd_NO_LUKSrd_NO_MDrd_LVM_LV=vg_linmu/lv_swapcrashkernel=auto.UTF-8rd_LVM_LV=vg_linmu/lv_rootKEYBOARDTYPE=pcKEYTABLE=usrd_NO_DMrhgbquiet initrd/initramfs-2.6.32-358.el6.x86_64.img 重启:reboot 查看内核版本:uname-r 3.10.92-1.el6.elrepo.x86_64
(http://elrepo.org/tiki/tiki-index.PHP)
原文链接:https://www.f2er.com/centos/379547.html