Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
nimonew
V2EX  ›  Linux

求 centos7 更新内核的正确姿势

  •  
  •   nimonew · Mar 13, 2017 · 3464 views
    This topic created in 3360 days ago, the information mentioned may be changed or developed.

    uname -r 命令获取的内核版本为: 3.10.0-327.36.3.el7.x86_64

    然后我通过下面的命令升级内核

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

    完成后

    kernel-ml-4.10.2-1.el7.elrepo.x86_64
    kernel-tools-3.10.0-327.36.3.el7.x86_64
    kernel-3.10.0-327.36.3.el7.x86_64
    kernel-3.10.0-327.el7.x86_64
    kernel-tools-libs-3.10.0-327.36.3.el7.x86_64
    kernel-headers-3.10.0-514.2.2.el7.x86_64
    

    但是启动选项中没有 kernel-ml-4.10.2-1.el7.elrepo.x86_64 是我操作的的方式有问题吗?

    Supplement 1  ·  Mar 13, 2017
    已解决,卸载内核,重新安装就好了,可能是之前没有 su 的原因
    1 replies    2017-03-16 21:19:47 +08:00
    acedbs
        1
    acedbs  
       Mar 16, 2017
    CentOS 5/6/7 下 yum 快速升级 kernel 内核
    https://unixso.com/Linux/kernel.html

    升级完以后要改下 grub
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5595 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 08:32 · PVG 16:32 · LAX 01:32 · JFK 04:32
    ♥ Do have faith in what you're doing.