CentOS发行版本与内核版本对应关系

本文提供了红帽企业Linux从版本3到8的主要和次要更新的详细信息,包括每个版本的发布日期和随附的内核版本。红帽通常不公开未来版本的发布时间表,但用户可以通过查看`/etc/redhat-release`和运行`uname -a`来确定其系统的版本和内核信息。最新的RHEL8.5于2021年11月9日发布,内核版本为4.18.0-348。

红帽企业 Linux

下表列出了主要和次要的 Red Hat Enterprise Linux 更新、它们的发布日期以及随附的内核版本。

红帽一般不会透露未来的发布时间表。
有关红帽企业 Linux 版本生命周期的详细信息,请参阅红帽企业 Linux 生命周期政策

要查找您的 Red Hat Enterprise Linux 版本,请:

$ cat /etc/redhat-release

要查找您的内核版本,请:

$ uname -a

红帽企业 Linux 8

释放一般上市日期redhat-release 勘误日期*内核版本
RHEL 8.52021-11-092021-11-09 RHSA-2021:43564.18.0-348
RHEL 8.42021-05-182021-05-18 RHSA-2021:15784.18.0-305
RHEL 8.32020-11-032020-11-03 RHBA-2020:44954.18.0-240
RHEL 8.22020-04-282020-04-28 RHBA-2020:17584.18.0-193
RHEL 8.12019-11-052019-11-05 RHBA-2019:35434.18.0-147
RHEL 82019-05-07——4.18.0-80

代号:Ootpa(基于 Fedora 28、上游 Linux 内核 4.18、systemd 239 和 GNOME 3.28。)

红帽企业 Linux 7

释放一般上市日期redhat-release 日期*内核版本
RHEL 7.92020-09-292020-09-29 RHBA-2020:38493.10.0-1160
RHEL 7.82020-03-312020-03-31 RHBA-2020:10333.10.0-1127
RHEL 7.72019-08-062019-08-06 RHBA-2019:23513.10.0-1062
RHEL 7.62018-10-302018-10-30 RHBA-2018:30143.10.0-957
RHEL 7.52018-04-102018年4月10日RHEA-2018:07003.10.0-862
RHEL 7.42017-07-312017-07-31 RHBA-2017:18503.10.0-693
RHEL 7.32016-11-032016-11-03 RHEA-2016-25443.10.0-514
RHEL 7.22015-11-192015-11-19 RHEA-2015:24613.10.0-327
RHEL 7.12015-03-052015-03-05 RHEA-2015:05243.10.0-229
RHEL 7.0 GA2014-06-09——3.10.0-123
RHEL 7.0 测试版2013-12-11——3.10.0-54.0.1

代号:Maipo(基于 Fedora 19、Fedora 20 和一些修改的组合)

红帽企业 Linux 6

释放一般上市日期redhat-release 勘误日期*内核版本
RHEL 6.102018-06-192018年6月19日RHBA-2018:18562.6.32-754
RHEL 6.92017-03-212017-03-21 RHSA-2017:08172.6.32-696
RHEL 6.82016-05-102016-05-10 RHSA-2016:0855-12.6.32-642
RHEL 6.72015-07-222015-07-22 RHEA-2015:14232.6.32-573
RHEL 6.62014-10-142014-10-13 RHEA-2014:16082.6.32-504
RHEL 6.52013-11-212013-11-20 RHSA-2013:1645-22.6.32-431
RHEL 6.42013-02-212013-02-21 RHSA-2013-04962.6.32-358
RHEL 6.32012-06-202012-06-19 RHSA-2012-08622.6.32-279
RHEL 6.22011-12-062011-12-06 RHEA-2011:17432.6.32-220
RHEL 6.12011-05-192011-05-19 RHEA-2011:05402.6.32-131.0.15
RHEL 6.02010-11-09——2.6.32-71

代号:Santiago(基于 Fedora 12、Fedora 13 和几个修改的组合)

红帽企业 Linux 5

释放一般上市日期redhat-release 勘误日期*内核版本
RHEL 5.112014-09-162014-09-16 RHEA-2014-12382.6.18-398
RHEL 5.102013-10-012013-09-30 RHEA-2013-13112.6.18-371
RHEL 5.92013-01-072013-01-07 RHEA-2013-00212.6.18-348
RHEL 5.82012-02-202012-02-20 RHEA-2012:03152.6.18-308
RHEL 5.72011-07-212011-07-20 RHEA-2011:09772.6.18-274
RHEL 5.62011-01-132011-01-12 RHEA-2011:00202.6.18-238
RHEL 5.52010-03-302010-03-30 RHEA-2010:02072.6.18-194
RHEL 5.42009-09-022009-09-02 RHEA-2009:14002.6.18-164
RHEL 5.32009-01-202009-01-20 RHEA-2009:01332.6.18-128
RHEL 5.22008-05-212008-05-20 RHEA-2008:04362.6.18-92
RHEL 5. 12007-11-072007-11-07 RHEA-2007:08542.6.18-53
RHEL 5.02007-03-15——2.6.18-8

代号:Tikanga(基于 Fedora Core 6)

红帽企业 Linux 4

发布/更新一般上市日期redhat-release 勘误日期*内核版本
RHEL 4 更新 92011-02-162011-02-16 RHEA-2011:02512.6.9-100
RHEL 4 更新 82009-05-192009-05-18 RHEA-2009:10022.6.9-89
RHEL 4 更新 72008-07-292008-07-24 RHEA-2008:07692.6.9-78
RHEL 4 更新 62007-11-152007-11-15 RHBA-2007:08972.6.9-67
RHEL 4 更新 52007-05-012007-04-27 RHBA-2007:01962.6.9-55
RHEL 4 更新 42006-08-102006-08-10 RHBA-2006:06012.6.9-42
RHEL 4 更新 32006-03-122006-03-07 RHBA-2006:01492.6.9-34
RHEL 4 更新 22005-10-052005-10-05 RHEA-2005:7862.6.9-22
RHEL 4 更新 12005-06-082005-06-08 RHEA-2005:3182.6.9-11
RHEL 4 GA2005-02-15——2.6.9-5

代号:Nahant(基于 Fedora Core 3)

红帽企业 Linux 3

发布/更新一般上市日期内核版本
RHEL 3 更新 92007-06-202.4.21-50
RHEL 3 更新 82006-07-202.4.21-47
RHEL 3 更新 72006-03-172.4.21-40
RHEL 3 更新 62005-09-282.4.21-37
RHEL 3 更新 52005-05-182.4.21-32
RHEL 3 更新 42004-12-122.4.21-27
RHEL 3 更新 32004-09-032.4.21-20
RHEL 3 更新 22004-05-122.4.21-15
RHEL 3 更新 12004-01-162.4.21-9
RHEL 3 GA2003-10-222.4.21-4

代号:Taroon(基于 Red Hat Linux 9)

红帽企业 Linux 2.1

发布/更新一般上市日期内核版本
RHEL 2.1 更新 72005-04-28——
RHEL 2.1 更新 62004-12-132.4.9-e.57
RHEL 2.1 更新 52004-08-182.4.9-e.49
RHEL 2.1 更新 42004-04-212.4.9-e.40
RHEL 2.1 更新 32004-12-192.4.9-e.34
RHEL 2.1 更新 22003-03-292.4.9-e.24
RHEL 2.1 更新 12003-02-142.4.9-e.12
RHEL 2.1 GA2002-03-232.4.9-e.3

代号:Pensacola (AS) / Panama (ES)(基于 Red Hat Linux 7.2)

* 在使用 spacewalk-clone-by-date 或 webUI 在下一个次要版本之前克隆卫星频道的次要版本以及所有勘误表时很有帮助。

Red Hat Enterprise Linux Release Dates

Updated November 9 2021 at 9:54 PM - 

English 

The tables below list the major and minor Red Hat Enterprise Linux updates, their release dates, and the kernel versions that shipped with them.

Red Hat does not generally disclose future release schedules.
Refer to the Red Hat Enterprise Linux Life Cycle Policy for details on the life cycle of Red Hat Enterprise Linux releases.

To find your Red Hat Enterprise Linux release please:

Raw

$ cat /etc/redhat-release

To find your kernel version please:

Raw

$ uname -a

Red Hat Enterprise Linux 8

ReleaseGeneral Availability Dateredhat-release Errata Date*Kernel Version
RHEL 8.52021-11-092021-11-09 RHSA-2021:43564.18.0-348
RHEL 8.42021-05-182021-05-18 RHSA-2021:15784.18.0-305
RHEL 8.32020-11-032020-11-03 RHBA-2020:44954.18.0-240
RHEL 8.22020-04-282020-04-28 RHBA-2020:17584.18.0-193
RHEL 8.12019-11-052019-11-05 RHBA-2019:35434.18.0-147
RHEL 82019-05-07-4.18.0-80

Codename: Ootpa (is based on Fedora 28, upstream Linux kernel 4.18, systemd 239, and GNOME 3.28.)

Red Hat Enterprise Linux 7

ReleaseGeneral Availability Dateredhat-release Errata Date*Kernel Version
RHEL 7.92020-09-292020-09-29 RHBA-2020:38493.10.0-1160
RHEL 7.82020-03-312020-03-31 RHBA-2020:10333.10.0-1127
RHEL 7.72019-08-062019-08-06 RHBA-2019:23513.10.0-1062
RHEL 7.62018-10-302018-10-30 RHBA-2018:30143.10.0-957
RHEL 7.52018-04-102018-04-10 RHEA-2018:07003.10.0-862
RHEL 7.42017-07-312017-07-31 RHBA-2017:18503.10.0-693
RHEL 7.32016-11-032016-11-03 RHEA-2016-25443.10.0-514
RHEL 7.22015-11-192015-11-19 RHEA-2015:24613.10.0-327
RHEL 7.12015-03-052015-03-05 RHEA-2015:05243.10.0-229
RHEL 7.0 GA2014-06-09-3.10.0-123
RHEL 7.0 Beta2013-12-11-3.10.0-54.0.1

Codename: Maipo (based on a mix of Fedora 19, Fedora 20, and several modifications)

Red Hat Enterprise Linux 6

ReleaseGeneral Availability Dateredhat-release Errata Date*Kernel Version
RHEL 6.102018-06-192018-06-19 RHBA-2018:18562.6.32-754
RHEL 6.92017-03-212017-03-21 RHSA-2017:08172.6.32-696
RHEL 6.82016-05-102016-05-10 RHSA-2016:0855-12.6.32-642
RHEL 6.72015-07-222015-07-22 RHEA-2015:14232.6.32-573
RHEL 6.62014-10-142014-10-13 RHEA-2014:16082.6.32-504
RHEL 6.52013-11-212013-11-20 RHSA-2013:1645-22.6.32-431
RHEL 6.42013-02-212013-02-21 RHSA-2013-04962.6.32-358
RHEL 6.32012-06-202012-06-19 RHSA-2012-08622.6.32-279
RHEL 6.22011-12-062011-12-06 RHEA-2011:17432.6.32-220
RHEL 6.12011-05-192011-05-19 RHEA-2011:05402.6.32-131.0.15
RHEL 6.02010-11-09-2.6.32-71

Codename: Santiago (based on a mix of Fedora 12, Fedora 13, and several modifications)

Red Hat Enterprise Linux 5

ReleaseGeneral Availability Dateredhat-release Errata Date*Kernel Version
RHEL 5.112014-09-162014-09-16 RHEA-2014-12382.6.18-398
RHEL 5.102013-10-012013-09-30 RHEA-2013-13112.6.18-371
RHEL 5.92013-01-072013-01-07 RHEA-2013-00212.6.18-348
RHEL 5.82012-02-202012-02-20 RHEA-2012:03152.6.18-308
RHEL 5.72011-07-212011-07-20 RHEA-2011:09772.6.18-274
RHEL 5.62011-01-132011-01-12 RHEA-2011:00202.6.18-238
RHEL 5.52010-03-302010-03-30 RHEA-2010:02072.6.18-194
RHEL 5.42009-09-022009-09-02 RHEA-2009:14002.6.18-164
RHEL 5.32009-01-202009-01-20 RHEA-2009:01332.6.18-128
RHEL 5.22008-05-212008-05-20 RHEA-2008:04362.6.18-92
RHEL 5. 12007-11-072007-11-07 RHEA-2007:08542.6.18-53
RHEL 5.02007-03-15-2.6.18-8

Codename: Tikanga (based on Fedora Core 6)

Red Hat Enterprise Linux 4

Release/UpdateGeneral Availability Dateredhat-release Errata Date*Kernel Version
RHEL 4 Update 92011-02-162011-02-16 RHEA-2011:02512.6.9-100
RHEL 4 Update 82009-05-192009-05-18 RHEA-2009:10022.6.9-89
RHEL 4 Update 72008-07-292008-07-24 RHEA-2008:07692.6.9-78
RHEL 4 Update 62007-11-152007-11-15 RHBA-2007:08972.6.9-67
RHEL 4 Update 52007-05-012007-04-27 RHBA-2007:01962.6.9-55
RHEL 4 Update 42006-08-102006-08-10 RHBA-2006:06012.6.9-42
RHEL 4 Update 32006-03-122006-03-07 RHBA-2006:01492.6.9-34
RHEL 4 Update 22005-10-052005-10-05 RHEA-2005:7862.6.9-22
RHEL 4 Update 12005-06-082005-06-08 RHEA-2005:3182.6.9-11
RHEL 4 GA2005-02-15-2.6.9-5

Codename: Nahant (based on Fedora Core 3)

Red Hat Enterprise Linux 3

Release/UpdateGeneral Availability DateKernel Version
RHEL 3 Update 92007-06-202.4.21-50
RHEL 3 Update 82006-07-202.4.21-47
RHEL 3 Update 72006-03-172.4.21-40
RHEL 3 Update 62005-09-282.4.21-37
RHEL 3 Update 52005-05-182.4.21-32
RHEL 3 Update 42004-12-122.4.21-27
RHEL 3 Update 32004-09-032.4.21-20
RHEL 3 Update 22004-05-122.4.21-15
RHEL 3 Update 12004-01-162.4.21-9
RHEL 3 GA2003-10-222.4.21-4

Codename: Taroon (based on Red Hat Linux 9)

Red Hat Enterprise Linux 2.1

Release/UpdateGeneral Availability DateKernel Version
RHEL 2.1 Update 72005-04-28-
RHEL 2.1 Update 62004-12-132.4.9-e.57
RHEL 2.1 Update 52004-08-182.4.9-e.49
RHEL 2.1 Update 42004-04-212.4.9-e.40
RHEL 2.1 Update 32004-12-192.4.9-e.34
RHEL 2.1 Update 22003-03-292.4.9-e.24
RHEL 2.1 Update 12003-02-142.4.9-e.12
RHEL 2.1 GA2002-03-232.4.9-e.3

Codename: Pensacola (AS) / Panama (ES) (based on Red Hat Linux 7.2)

* Helpful when cloning channels in Satellite for a minor version plus all errata prior to the next minor release using spacewalk-clone-by-date or the webUI.

<think>嗯,用户需要查询CentOS系统的内核版本,这是一个非常具体的系统管理问题。从用户的问题表述看,ta可能是个刚接触CentOS的管理员或开发者,需要快速获得可操作的命令。 用户明确要求英文命令"how to check kernel version in CentOS",但根据系统指令要求必须用中文回答。考虑到用户可能正在操作终端,需要确保提供的命令绝对准确,因此要验证所有命令在CentOS 7/8的通用性。 准备提供三种最可靠的方法:uname命令是最直接的方案,/proc/version文件作为备选,hostnamectl则适合同时需要系统其他信息的情况。每个方案都要说明具体输出示例,比如"3.10.0-1160.el7.x86_64"这样的典型返回值,避免用户混淆内核版本和系统版本。 注意到用户前序对话有CentOS版本查询的引用记录,虽然当前问题不涉及,但可以在最后补充系统版本查询作为延伸内容,使用rpm或lsb_release命令。不过要控制信息量,避免偏离内核版本这个核心需求。 最后生成的问题要围绕版本管理的延伸场景:比如如何升级内核、理解版本号含义、查看实时运行内核等,这些是管理员接下来可能自然产生的疑问。</think>查询CentOS内核版本有以下可靠方法(均需在终端执行): ### 方法1:使用 `uname` 命令(推荐) ```bash uname -r ``` * **输出示例**:`3.10.0-1160.el7.x86_64` * **说明**:`-r` 参数直接显示内核发行版本,这是最快捷的方式[^1]。 ### 方法2:查看 `/proc/version` 文件 ```bash cat /proc/version ``` * **输出示例**: `Linux version 3.10.0-1160.el7.x86x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623...)` * **说明**:系统虚拟文件,包含详细编译信息。 ### 方法3:通过 `hostnamectl` 命令(CentOS 7+) ```bash hostnamectl | grep -i kernel ``` * **输出示例**: `Kernel: Linux 3.10.0-1160.el7.x86_64` * **说明**:同时显示系统主机名和内核版本[^2]。 ### 额外说明:系统版本查询 若需**CentOS系统版本**(非内核): ```bash cat /etc/centos-release # 直接查看发行文件 rpm -q centos-release # 通过RPM包查询 lsb_release -d # 需安装redhat-lsb-core包 ``` --- ### 常见问题解答 **Q1: 输出中`el7`或`el8`的含义?** > 表示企业级LinuxEnterprise Linux版本,`el7`对应CentOS 7,`el8`对应CentOS 8。 **Q2: 如何确认当前运行的内核?** > 重启后生效的内核可能不同,使用 `uname -r` 始终显示**当前运行内核**。 **Q3: 为什么推荐`uname`而非其他?** > 无需安装额外包,所有Linux系统通用,且输出简洁无冗余信息。 ---
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值