首页 > 系统相关 >将Centos系统从7.0~7.7升级到7.8版本

将Centos系统从7.0~7.7升级到7.8版本

时间:2023-11-02 13:07:46浏览次数:88  
标签:kernel x86 Centos 10.0 7.0 64 7.7 Linux el7

 1. 检查内核版本

yum info kernel -q

 已安装的软件包
名称    :kernel
架构    :x86_64
版本    :3.10.0
发布    :862.el7
大小    :62 M
源    :installed
来自源:anaconda
简介    : The Linux kernel
网址    :http://www.kernel.org/
协议    : GPLv2
描述    : The kernel package contains the Linux kernel (vmlinuz), the core of any
         : Linux operating system.  The kernel handles the basic functions
         : of the operating system: memory allocation, process allocation, device
         : input and output, etc.

名称    :kernel
架构    :x86_64
版本    :3.10.0
发布    :862.14.4.el7
大小    :62 M
源    :installed
来自源:updates
简介    : The Linux kernel
网址    :http://www.kernel.org/
协议    : GPLv2
描述    : The kernel package contains the Linux kernel (vmlinuz), the core of any
         : Linux operating system.  The kernel handles the basic functions
         : of the operating system: memory allocation, process allocation, device
         : input and output, etc.

名称    :kernel
架构    :x86_64
版本    :3.10.0
发布    :957.1.3.el7
大小    :63 M
源    :installed
来自源:updates
简介    : The Linux kernel
网址    :http://www.kernel.org/
协议    : GPLv2
描述    : The kernel package contains the Linux kernel (vmlinuz), the core of any
         : Linux operating system.  The kernel handles the basic functions
         : of the operating system: memory allocation, process allocation, device
         : input and output, etc.

可安装的软件包
名称    :kernel
架构    :x86_64
版本    :3.10.0
发布    :1127.19.1.el7
大小    :50 M
源    :updates/7/x86_64
简介    : The Linux kernel
网址    :http://www.kernel.org/
协议    : GPLv2
描述    : The kernel package contains the Linux kernel (vmlinuz), the core of any
         : Linux operating system.  The kernel handles the basic functions
         : of the operating system: memory allocation, process allocation, device
         : input and output, etc.

2. 升级内核

yum upgrade kernel

 依赖关系解决

===========================================================================================================
 Package                                架构                           版本                                                源                               大小
===========================================================================================================
正在安装:
 kernel                                 x86_64                         3.10.0-1127.19.1.el7                                updates                          50 M
为依赖而更新:
 linux-firmware                         noarch                         20191203-76.gite8a0f4c.el7                          base                             81 M

===========================================================================================================

yum list kernel -q
已安装的软件包
kernel.x86_64                                                           3.10.0-862.el7                                                                  @anaconda
kernel.x86_64                                                           3.10.0-862.14.4.el7                                                             @updates
kernel.x86_64                                                           3.10.0-957.1.3.el7                                                              @updates
kernel.x86_64                                                           3.10.0-1127.19.1.el7                                                            @updates

reboot

删除旧的内核:

 ==========================================

更新CentOS

cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)

yum clean all

yum update

reboot

cat /etc/centos-release
CentOS Linux release 7.8.2003 (Core)

==========================================
注意:
1 升级CentOS和内核之后,python,yum等都没任何变化;
python的版本不会升级到 python3
2 如果把python2升级到python3,会导致yum无法使用;因此,不要把python2删除掉;yum默认使用python2;
3 CentOS上同时安装python2和python3会导致奇怪的错误,这些错误解决起来十分棘手。

 ==========================================

CentOS version 7[edit]

hideCentOS version

Architectures

RHEL base

Kernel

CentOS release date

RHEL release date

Delay (days)

7.0-1406[110]

x86-64[111][b]

7.0

3.10.0-123

2014-07-07[27]

2014-06-10[112]

27

7.1-1503

x86-64

7.1

3.10.0-229

2015-03-31[113][114]

2015-03-05[115]

26

7.2-1511

x86-64

7.2

3.10.0-327

2015-12-14[116][117]

2015-11-19[118]

25

7.3-1611

x86-64

7.3

3.10.0-514

2016-12-12[119]

2016-11-03[120]

39

7.4-1708

x86-64

7.4

3.10.0-693

2017-09-13[121]

2017-07-31[122][103]

43

7.5-1804

x86-64

7.5

3.10.0-862

2018-05-10[123]

2018-04-10[124][103]

31

7.6-1810

x86-64

7.6

3.10.0-957

2018-12-03[125]

2018-10-30[126][103]

34

7.7-1908

x86-64

7.7

3.10.0-1062

2019-09-17[127]

2019-08-06[128][103]

42

7.8-2003

x86-64

7.8

3.10.0-1127

2020-04-27[129]

2020-03-30[130][103]

28

7.9-xxxx

x86-64

7.9

3.10.0-xxxx

TBA

TBA

?

Latest version information[edit]

CentOS version 8[edit]

hideCentOS version

Architectures

RHEL base

Kernel

CentOS release date

RHEL release date

Delay (days)

8.0-1905

x86-64, ppc64le, AArch64

8.0

4.18.0-80

2019-09-24[15]

2019-05-07[131][103]

140

8.1-1911

8.1

4.18.0-147

2020-01-15[132]

2019-11-05[133][103]

71

8.2-2004

8.2

4.18.0-193

2020-06-15[134]

2020-04-28[135][103]

48


 

 ==========================================

REF

https://blog.ll00.cn/archives/87.html

https://en.wikipedia.org/wiki/CentOS

https://www.knownhost.com/wiki/dedicated-servers/kernel-version#:~:text=To%20view%20the%20current%20kernel,same%20CentOS%207%20operating%20system.&text=This%20command%20may%20run%20noticeably,or%20more%20plugins%20by%20default.

 https://www.jianshu.com/p/fdf6bb6c5b9c

https://www.howtoing.com/install-upgrade-kernel-version-in-centos-7/



标签:kernel,x86,Centos,10.0,7.0,64,7.7,Linux,el7
From: https://blog.51cto.com/emanlee/8143845

相关文章

  • CentOS 卸载 python
    卸载python2.7rpm-qa|greppython2|xargsrpm-ev--allmatches--nodepswhereispython2|xargsrm-frv-------------------卸载python3rpm-qa|greppython3|xargsrpm-ev--allmatches--nodeps卸载pyhton3whereispython3|xargsrm-frv删除所有残......
  • linux CentOS ModuleNotFoundError: No module named '_ctypes
    Yesthatworkedforme,ImadesurethesepackagesareinstalledonmyCentos7:sudoyuminstall-yzlib-develbzip2-developenssl-develncurses-develsqlite-develreadline-develtk-develgdbm-develdb4-devellibpcap-develxz-develexpat-devellibffi-dev......
  • centos7 python2和python3共存
     ln-s/usr/local/python3/bin/python3/usr/bin/python #测试[root@operationbin]#pip3-Vpip18.1from/usr/local/python3/lib/python3.6/site-packages/pip(python3.6)#使用[root@operationbin]#pip3install包名或者[root@operationbin]#pyth......
  • centos 7 下通过 conda 安装 cuda pytorch
    先查看自己的linux上显卡型号:#lspci|grep-invidia04:00.0VGAcompatiblecontroller:NVIDIACorporationGP102[GeForceGTX1080Ti](reva1)04:00.1Audiodevice:NVIDIACorporationGP102HDMIAudioController(reva1)查看是否有程序占用(如果存在占用,请停掉该程序......
  • centos7远程ssh登录好慢啊,终于解决了
    虚拟机上装了centos7用win主机远程连接每次都很慢,一度怀疑是网卡什么的设置不对,甚至以为要重装系统,后来偶然发现是sshd_config配置问题直接修改一下其中的dns设置,vim/etc/ssh/sshd_config将UseDNSyes注释取消改为UseDNSno,并保存退出重启sshdsystemctlrestartsshd再次连......
  • Centos7 部署gitea,使用sqlite作为数据源
    #创建用户git,指定登录shell为Bash,-d指定家目录默认/home/git,-m如果指定的家目录不存在,则创建该目录#踩坑:-r不分配登录shell和家目录useradd-s/bin/bash-d-mgit#编辑/etc/sudoers文件以允许git用户在执行sudo命令时无需密码vi/etc/sudoers在文件中找到以rootALL=......
  • Centos安装MQTT与基本配置
    1.Centos默认没有mosquitto,需要额外安装一个软件包,EPEL软件库。该库中有很多Linux发行版软件  sudoyum-yinstall epel-release2.安装mostuitto   sudoyum-yinstallmosquitto3.执行完以上两步,mosquitto就已经安装成功4.测试是否安装成功  sudosystemctl......
  • laravel:使用session(10.27.0)
    一,相关文档:https://learnku.com/docs/laravel/10.x/session/14855二,配置session文件:config/session.php'driver'=>env('SESSION_DRIVER','file'),//session驱动,默认为flie驱动'lifetime'=>env('SESSION_LIFETIME�......
  • CentOS7.6 安装Telnet服务
    Telnet服务简介Telnet协议是TCP/IP协议族中的一员,是Internet远程登录服务的标准协议和主要方式。它为用户提供了在本地计算机上完成远程主机工作的能力。在终端使用者的电脑上使用Telnet程序,用它连接到服务器。终端使用者可以在Telnet程序中输入命令,这些命令会在服务器......
  • centos7yum安装syslog-ng
    1.安装epel源yum-yinstallhttps://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm2.安装syslog-ngyum-yinstallsyslog-ng3.修改syslog-ng配置文件vim/etc/syslog-ng/syslog-ng.conf 4、syslog-ng配置文件详解vim/etc/syslog-ng/syslog-ng.conf1.optio......