linux-版本相关

查看内核版本命令:

uname -r

version解析:

3.10.0-128.el7.x86_64

3.10.0:主版本.次版本.释出版本-修改版本
3.10:3.10版内核
128: 表示这个当前版本的第5次微调patch
EL7: EL :Red hat Enterprise Linux
7: 用于red hat 7、centos7

版本分类

2.6之前:

奇数,偶数区分版本
主、次版本号为奇数:发展中版本(development): ex:2.5.xx

主、次版本号为偶数:稳定版(stble) 2.6.xx

3.0之后:

主线版本、长期维护版本:
https://www.kernel.org/catego...

| version| 维护者  | 发布        | 预计EOL    |
| ------ | ------ | -----      | ------     |       
| 4.19   | Greg   | 2018-10-22 | Dec, 2020  |
| 4.14   | Greg   | 2017-11-12 | Jan, 2020  |
| 4.9    | Greg   | 2016-12-11 | Jan, 2023  |
| 4.4    | Greg   | 2016-01-10 | Feb, 2022  |
| 3.16   | Ben    | 2014-08-03 | Apr, 2020  |

主线版本:4.19(例如4.19以后开发的,4.20就为主线版本)

当4.20推出后,4.19将面临两种选择:

1.EOL结束开发,不再维护。EOL:表示结束维护

2.长期维护,修复bug

比如4.18就是结束维护的版本

 长期维护的版本:4.19,4.14,4.9,4.4,3,16

Linux Distribution

一般是指发行版的意思,Linux真正意义上说只是一个内核,我们通常使用的都是基于Linux内核的发行版了。如常见的Linux发行版有:Ubuntu、Fedora、Suse、ArchLinux
、CentOS等

Linux Distribution: Kernel+Softwares+Tools+Documentation

Linux Distribution规范:

Linux Standard Base(LSB):规范开发者开发

File system Hierarchy Standard(FHS):目录架构规范标准

Linux Distribution两大分类:

RMP软件管理:RHEL SuSE Fedora Centos openSuSE

DPKG软件管理:Ubuntu Debain B2D

查看当前系统版本

[root@VM_158_86_centos skygroup]# uname -r
3.10.0-957.5.1.el7.x86_64
[root@VM_158_86_centos skygroup]# cat /proc/version  
Linux version 3.10.0-957.5.1.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Fri Feb 1 14:54:57 UTC 2019
[root@VM_158_86_centos skygroup]# cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"


[root@VM_158_86_centos skygroup]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core) 

 Red Hat与CentOS的区别和联系

CentOS全称:Community Enterprise Operating System
由于linux都遵循GUN协议,CentOS的开发者们就把Red Hat的代码下载下来进行二次开发,然后免费于公众

猜你喜欢

转载自blog.csdn.net/m0_63790530/article/details/121309507