zoukankan      html  css  js  c++  java
  • centos7-内核版本降级

    1. 查看内核版本参考命令:

    [root@localhost ~]# cat /etc/redhat-release

    CentOS Linux release 7.3.1611 (Core)

    [root@localhost ~]# uname -a

    Linux localhost.localdomain 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

    [root@localhost ~]# rpm -qa |grep -i centos-release

    centos-release-7-3.1611.el7.centos.x86_64

    2. 目的安装下面这个版本内核:

    kernel-3.10.0-862.11.6.el7.1.x86_64.rpm

    下载地址:https://centos.pkgs.org/7/puias-computational-x86_64/kernel-3.10.0-862.11.6.el7.1.x86_64.rpm.html

    3. 查看已安装内核版本

    [root@localhost boot]# rpm -qa |grep kernel

    kernel-3.10.0-514.el7.x86_64

    kernel-tools-libs-3.10.0-693.5.2.el7.x86_64

    kernel-tools-3.10.0-693.5.2.el7.x86_64

    kernel-3.10.0-693.5.2.el7.x86_64

    kernel-3.10.0-514.26.2.el7.x86_64

    4. 卸载新版本内核

    [root@localhost boot]# rpm -e kernel-3.10.0-514.el7.x86_64

    5.安装需要的内核版本

    rpm -ivh kernel-3.10.0-862.11.6.el7.1.x86_64.rpm

  • 相关阅读:
    编译JDK12
    Hexo Next背景动画Canvas_nest:true设置无效
    素数
    Linux 命令行样式
    四种排序算法实现
    Java中的简单容器
    一个关于2的次方问题
    LeetCode--20.有效的括号
    Java中的注释
    关于Metasploitable的测试
  • 原文地址:https://www.cnblogs.com/kangleweb/p/10285995.html
Copyright © 2011-2022 走看看