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

  • 相关阅读:
    2020年4月13日
    2021年4月12日
    梦断代码阅读笔记02
    Shell基本命令
    远程链接Linux
    Linux文档与目录结构
    VMware与Centos系统安装
    linux 第一天
    day88 Vue基础
    python 生成随机验证码
  • 原文地址:https://www.cnblogs.com/kangleweb/p/10285995.html
Copyright © 2011-2022 走看看