当前位置: 首页 > news >正文

Centos Linux kernel内核升级

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

一、Linux kernel官网

https://www.kernel.org

There are several main categories into which kernel releases may fall:

  • Prepatch

    Prepatch or "RC" kernels are mainline kernel pre-releases that are mostly aimed at other kernel developers and Linux enthusiasts. They must be compiled from source and usually contain new features that must be tested before they can be put into a stable release. Prepatch kernels are maintained and released by Linus Torvalds.

  • Mainline

    Mainline tree is maintained by Linus Torvalds. It's the tree where all new features are introduced and where all the exciting new development happens. New mainline kernels are released every 2-3 months.

  • Stable

    After each mainline kernel is released, it is considered "stable." Any bug fixes for a stable kernel are backported from the mainline tree and applied by a designated stable kernel maintainer. There are usually only a few bugfix kernel releases until next mainline kernel becomes available -- unless it is designated a "longterm maintenance kernel." Stable kernel updates are released on as-needed basis, usually 2-3 a month.

    Longterm

  • There are usually several "longterm maintenance" kernel releases provided for the purposes of backporting bugfixes for older kernel trees. Only important bugfixes are applied to such kernels and they don't usually see very frequent releases, especially for older trees.



Longterm release kernels

VersionMaintainerReleasedProjected EOL
4.4Greg Kroah-Hartman2016/1/10Feb, 2018
4.1Sasha Levin2015/6/21Sep, 2017
3.18Sasha Levin2014/12/7Jan, 2017
3.14Greg Kroah-Hartman2014/3/30Aug, 2016
3.12Jiri Slaby2013/11/3Jan, 2017
3.1Willy Tarreau2013/6/30Oct, 2017
3.4Li Zefan2012/5/20Sep, 2016
3.2Ben Hutchings2012/1/4May, 2018



二、ELRepo站点

http://elrepo.org/tiki/tiki-index.php


Welcome to ELRepo, an RPM repository for Enterprise Linux packages. ELRepo supports Red Hat Enterprise Linux (RHEL) and its derivatives (Scientific Linux, CentOS & others).

The ELRepo Project focuses on hardware related packages to enhance your experience with Enterprise Linux. This includes filesystem drivers, graphics drivers, network drivers, sound drivers, webcam and video drivers.

ELRepo关注于RHEL内核以及硬件相关驱动。

rhel7最新的内核rpm包

http://ftp.colocall.net/pub/elrepo/archive/kernel/el7/x86_64/RPMS/


三、升级过程

1.导入ELRepo yum源的key

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

2.安装ELRepo

rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

3.在yum的ELRepo源中

The difference is that kernel-lt is based on a "long term support" branch and kernel-ml is based on the "mainline stable" branch.


  • 安装ml版本的内核

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

  • 安装lt版本的内核

    yum --enablerepo=elrepo-kernel install  kernel-lt-devel kernel-lt -y

4.修改内核启动顺序,默认启动的顺序应该为1,升级以后内核是往前面插入,为0

grub2-set-default 0 

5. 重启系统

reboot

6. 然后查看内核版本

uname -r


转载于:https://my.oschina.net/yulongblog/blog/661833

相关文章:

  • ZenHub Epics创造了GitHub中敏捷Epics
  • Ubuntu 登录闪退
  • 图片格式转换之ImageMagick
  • Python基础(1)--Python编程习惯与特点
  • 不用图像文件的圆角解决--跳起按钮制作(html)
  • Problem M
  • php构造函数的继承方法
  • mysql连接不上Uncaught exception 'PDOException' with message 'could not find driver
  • 用slf4j+logback实现多功能日志解决方案
  • windows无法启动MySQL服务 错误1067
  • 第四章源代码的下载和编译
  • 百度前端学院 2016 春季班总结
  • EL表达式总结
  • ORACLE NUMBER类型Scale为0引发的问题
  • 运行shell脚本的三种方式
  • 【mysql】环境安装、服务启动、密码设置
  • 4. 路由到控制器 - Laravel从零开始教程
  • angular2 简述
  • C# 免费离线人脸识别 2.0 Demo
  • IndexedDB
  • Java超时控制的实现
  • spring boot下thymeleaf全局静态变量配置
  • Vim 折腾记
  • webpack入门学习手记(二)
  • 闭包,sync使用细节
  • 分布式事物理论与实践
  • 近期前端发展计划
  • 强力优化Rancher k8s中国区的使用体验
  • 时间复杂度与空间复杂度分析
  • 小程序button引导用户授权
  • scrapy中间件源码分析及常用中间件大全
  • ​软考-高级-系统架构设计师教程(清华第2版)【第1章-绪论-思维导图】​
  • #我与Java虚拟机的故事#连载06:收获颇多的经典之作
  • (C语言版)链表(三)——实现双向链表创建、删除、插入、释放内存等简单操作...
  • (libusb) usb口自动刷新
  • (二)学习JVM —— 垃圾回收机制
  • (附源码)springboot课程在线考试系统 毕业设计 655127
  • (附源码)计算机毕业设计ssm电影分享网站
  • (牛客腾讯思维编程题)编码编码分组打印下标题目分析
  • (区间dp) (经典例题) 石子合并
  • (三)Hyperledger Fabric 1.1安装部署-chaincode测试
  • (五) 一起学 Unix 环境高级编程 (APUE) 之 进程环境
  • (一)Dubbo快速入门、介绍、使用
  • (一)搭建springboot+vue前后端分离项目--前端vue搭建
  • .NET “底层”异步编程模式——异步编程模型(Asynchronous Programming Model,APM)...
  • .Net Core与存储过程(一)
  • .NET Reactor简单使用教程
  • .NET建议使用的大小写命名原则
  • .NET牛人应该知道些什么(2):中级.NET开发人员
  • .net用HTML开发怎么调试,如何使用ASP.NET MVC在调试中查看控制器生成的html?
  • .py文件应该怎样打开?
  • .w文件怎么转成html文件,使用pandoc进行Word与Markdown文件转化
  • @EventListener注解使用说明
  • @Validated和@Valid校验参数区别
  • [ vulhub漏洞复现篇 ] JBOSS AS 5.x/6.x反序列化远程代码执行漏洞CVE-2017-12149