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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM