查看https://www.kernel.org/当前的最新stable版本

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: rgb(51, 41, 10); background-color: rgb(255, 255, 255);"><span style="text-align: left; color: rgb(0, 0, 0); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">mainline =&gt; stable =&gt; longterm</span></span></span></span>

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;">Mainline</span></span>



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.


<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: rgb(51, 41, 10); font-style: normal; font-weight: bold; background-color: rgb(255, 255, 255);">Stable</span></span></span>


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.

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;">Longterm</span></span>


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.

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: red; background-color: yellow;">生产推荐用<span style="text-align: justify; color: rgb(51, 51, 51); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">kernel-lt(lt=long-term)或者<span style="text-align: left; color: rgb(0, 0, 0); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">stable版本</span></span></span></span></span>

但是longterm 有时也有bug,也要用 新longterm版本

到这里下载[http://cbs.centos.org/kojifiles/packages/kernel/](http://cbs.centos.org/kojifiles/packages/kernel/)

或者

[https://cbs.centos.org/koji/builds?prefix=k&amp;order=-build_id](https://cbs.centos.org/koji/builds?prefix=k&amp;order=-build_id)

因为有时还要安装内核调试工具,比如systemtap等。

需要安装 kernel-debuginfo,kernel-debuginfo-common等

<span style="font-size: 20px;">所以要统一longterm版本和debuginfo版本</span>

[http://debuginfo.centos.org/7/x86_64/](http://debuginfo.centos.org/7/x86_64/)

&nbsp;

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: red; background-color: yellow;">1.首先</span><span style="background-color: inherit;">你要做的就是导入<span lang="EN-US" style="background-color: inherit;">public key</span></span></span></span>

 rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="background-color: inherit;"><span style="background-color: inherit;">&nbsp;</span></span><span style="color: red; background-color: yellow;">2.然后</span><span style="background-color: yellow;">安</span><span style="background-color: inherit;">装<span lang="EN-US" style="background-color: inherit;">elrepo</span>的<span lang="EN-US" style="background-color: inherit;">yum</span>源到<span lang="EN-US" style="background-color: inherit;">CentOS</span>中&nbsp;</span></span></span>

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="background-color: inherit;"><span lang="EN-US" style="background-color: inherit;"><font color="#ff0000" style="background-color: inherit;">yum <font color="#000000">-</font>y install yum-plugin-fastestmirror (默认有)</font></span></span></span></span>

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="background-color: inherit;">To install ELRepo for RHEL-7, SL-7&nbsp;or CentOS-7:</span></span></span>

<span style="font-family: times new roman,times,serif;"><span lang="EN-US" style="text-align: left; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">rpm -Uvh</span><span lang="EN-US" style="text-align: left; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">&nbsp;</span><span lang="EN-US" style="text-align: left; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm</span></span>

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="background-color: inherit;">To install ELRepo for RHEL-6, SL-6&nbsp;or CentOS-6:</span></span></span>

rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="background-color: inherit;"><span style="line-height: 1.5; background-color: inherit;">&nbsp;(</span></span></span></span><span lang="EN-US" style="text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 宋体; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"><span style="line-height: 1.5; font-size: 12pt; background-color: inherit;">经测试centos6.7 没有生成</span></span><span style="font: 14px/1.5 微软雅黑; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">/etc/yum.repos.d/elrepo.repo,可以手动添加。)</span>

[elrepo](http://zhangyu233.com/wp-content/uploads/elrepo.zip)

<span style="background-color: inherit;"><span style="background-color: inherit;">清除原有缓存</span></span>

<span style="background-color: inherit;"><span style="background-color: inherit;"><span lang="EN-US" style="text-align: left; color: rgb(0, 0, 0); font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="background-color: inherit;"><span style="background-color: inherit;">&nbsp;</span></span></span><span style="text-align: left; color: rgb(0, 0, 0); font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span lang="EN-US" style="background-color: inherit;">yum clean all</span></span><span lang="EN-US" style="text-align: left; color: rgb(0, 0, 0); font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&nbsp;</span></span></span>

<span style="background-color: inherit;"><span style="background-color: inherit;">获取</span></span><span style="background-color: inherit;"><span lang="EN-US" style="background-color: inherit;">yum</span></span><span style="background-color: inherit;"><span style="background-color: inherit;">列表</span></span>

<span style="background-color: inherit;"><span style="background-color: inherit;"><span style="text-align: left; color: rgb(0, 0, 0); font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span lang="EN-US" style="background-color: inherit;">&nbsp;yum makecache&nbsp;</span></span><span lang="EN-US" style="text-align: left; color: rgb(0, 0, 0); font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&nbsp;</span></span></span>

&nbsp;

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: red; background-color: yellow;">3.安装<span lang="EN-US" style="background-color: inherit;">k</span></span><span lang="EN-US" style="background-color: inherit;">ernel</span><span style="background-color: inherit;">在<span lang="EN-US" style="background-color: inherit;">yum</span>的<span lang="EN-US" style="background-color: inherit;">ELRepo</span>源中,</span></span></span>

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: rgb(51, 41, 10); background-color: rgb(255, 255, 255);"><span style="text-align: justify; color: rgb(51, 51, 51); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">kernel-lt(lt=long-term)</span></span></span></span>

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: rgb(51, 41, 10); background-color: rgb(255, 255, 255);"><span style="text-align: justify; color: rgb(51, 51, 51); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">kernel-ml(ml=mainline)</span></span></span></span>

<span style="font-size: 22px;"><span style="font-family: times new roman,times,serif;">**<span lang="EN-US" style="color: rgb(51, 51, 51); background-color: white;">Kernel-<b style="text-align: left; color: rgb(0, 0, 0); font-family: 微软雅黑; font-size: 13.63px; background-color: rgb(255, 255, 255);"><span lang="EN-US" style="color: rgb(51, 51, 51); background-color: white;">lt</span>** for Enterprise Linux 7.</span></b></span></span>

<span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="color: rgb(51, 51, 51); background-color: white;">To </span><span lang="EN-US" style="background-color: inherit;">install</span><span lang="EN-US" style="background-color: inherit;">&nbsp;</span><span lang="EN-US" style="background-color: inherit;">kernel-**<span lang="EN-US" style="color: rgb(51, 51, 51); background-color: white;">lt</span>**</span><span lang="EN-US" style="background-color: inherit;">&nbsp;you will need elrepo-release-7.0-2.el7.elrepo (or newer). Run:</span></span></span>

<span style="font-family: times new roman,times,serif;"><span style="text-align: left; color: rgb(255, 0, 0); text-transform: none; line-height: 33px; text-indent: 0px; letter-spacing: normal; font-size: 22px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">yum - </span><font color="#ff0000" size="5">-</font><span style="text-align: left; color: rgb(255, 0, 0); text-transform: none; line-height: 33px; text-indent: 0px; letter-spacing: normal; font-size: 22px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">enablerepo=elrepo-kernel install kernel-lt </span></span><font color="#ff0000" face="Monaco, Consolas, Courier, Lucida Console, monospace" style="text-align: left; text-transform: none; text-indent: 0px; letter-spacing: normal; font-size: 22px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"><span style="background-color: inherit;">kernel-lt-devel</span></font><span style="font-family: times new roman,times,serif;"><span style="text-align: left; color: rgb(255, 0, 0); text-transform: none; line-height: 33px; text-indent: 0px; letter-spacing: normal; font-size: 22px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">&nbsp;</span><span style="text-align: left; color: rgb(255, 0, 0); text-transform: none; line-height: 33px; text-indent: 0px; letter-spacing: normal; font-size: 22px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">-y</span></span>


或者安装kernel-ml(ml=mainline)

 

如果需要perf (注意版本)

rpm -Uvh https://elrepo.org/linux/kernel/el7/x86_64/RPMS/perf-4.4.16-1.el7.elrepo.x86_64.rpm



You can also Download manually from https://elrepo.org/linux/kernel/el7/x86_64/RPMS/

There is no need to install the kernel-lt-headers package

 

 Kernel-lt for Enterprise Linux 6.

To install kernel-lt you will need elrepo-release-6-6.el6.elrepo. Run:

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

如果需要perf 就

rpm -Uvh https://elrepo.org/linux/kernel/el6/x86_64/RPMS/perf-3.10.102-1.el6.elrepo.x86_64.rpm

 

    <div style="text-align: left; color: rgb(0, 0, 0); text-transform: none; line-height: 21px; text-indent: 0px; letter-spacing: normal; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; widows: 1; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">
        <div style="background-color: whitesmoke;">

                <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="color: rgb(51, 51, 51); background-color: inherit;"><span style="background-color: white;">You can also</span></span><span lang="EN-US" style="color: rgb(51, 51, 51); background-color: white;">&nbsp;</span><span lang="EN-US" style="line-height: 1.5; background-color: inherit;">[<span style="color: rgb(41, 41, 164); background-color: white;">Download</span>](http://elrepo.org/tiki/Download "Download")</span><span lang="EN-US" style="color: rgb(51, 51, 51); background-color: white;">&nbsp;</span><span lang="EN-US" style="color: rgb(51, 51, 51); background-color: white;">manually from</span><span lang="EN-US" style="color: rgb(51, 51, 51); background-color: white;">&nbsp;</span><span style="line-height: 1.5; background-color: inherit;">http://elrepo.org/linux/kernel/el6/x86_64/RPMS/</span></span></span>

                <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);">There is no need to install the<span style="background-color: inherit;">&nbsp;</span></span>**kernel-lt-firmware**<span style="color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span>package. There are more firmware files contained within the distro package than in the<span style="background-color: inherit;">&nbsp;</span></span>**kernel-lt-firmware**<span style="color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span>package.</span>

                <span style="color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);">There is no need to install the<span style="background-color: inherit;">&nbsp;</span></span>**kernel-lt-headers**<span style="color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span>package. It is only necessary if you intend to rebuild glibc and, thus, the entire operating system. If there is a need to have the kernel headers installed, you should use the current distributed<span style="background-color: inherit;">&nbsp;</span></span>**kernel-headers**<span style="color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span>package as that is related to the current version of glibc.</span></span></span>

                <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);">(如果要更新安装<span style="text-align: left; color: rgb(51, 51, 51); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span>glibc gcc docker等,就要安装**kernel-lt-headers**<span style="text-align: left; color: rgb(51, 51, 51); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span></span></span>)</span></span></span>

                &nbsp;

        </div>

            &nbsp;

    </div>

    <div style="text-align: left; color: rgb(0, 0, 0); text-transform: none; line-height: 21px; text-indent: 0px; letter-spacing: normal; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; widows: 1; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">
        <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);">服务器重启后在安装headers</span></span></span>
    </div>

    <div style="text-align: left; color: rgb(0, 0, 0); text-transform: none; line-height: 21px; text-indent: 0px; letter-spacing: normal; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; widows: 1; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">
        <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><font color="#333333" style="background-color: inherit;"><span style="line-height: 18.18px; background-color: inherit;"><span style="text-align: left; color: rgb(255, 0, 0); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">yum --enablerepo=elrepo-kernel install&nbsp;</span></span></font><font style="background-color: inherit;"><span style="line-height: 18.18px; background-color: inherit;">kernel-lt-headers&nbsp;</span></font><font color="#333333" style="background-color: inherit;"><span style="line-height: 18.18px; background-color: inherit;"><span style="text-align: left; color: rgb(255, 0, 0); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">-y</span></span></font></span></span>

            &nbsp;

            &nbsp;

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="background-color: inherit;">更新后查看内核版本</span><span style="line-height: 1.5; background-color: inherit;">uname&nbsp;-r</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="background-color: inherit;"><span style="background-color: inherit;">&nbsp;</span></span><span style="background-color: yellow;">4.编辑<span lang="EN-US" style="background-color: inherit;">gru</span></span><span lang="EN-US" style="background-color: inherit;">b.conf</span><span style="background-color: inherit;">文件,修改<span lang="EN-US" style="background-color: inherit;">Grub</span>引导顺序</span></span></span>

        <div style="background-color: inherit;">
            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;">centos7 -----见文章&quot;<span style="line-height: 1.5; background-color: inherit;">centos7升级内核后&nbsp;grub2&nbsp;&nbsp;改变启动顺序&quot;</span></span></span>
        </div>

        <div style="background-color: inherit;">
            <span style="font-family: times new roman,times,serif;"><font size="3">&nbsp;</font></span>
        </div>

        <div style="background-color: inherit;">
            <span style="font-family: times new roman,times,serif;"><font size="3">centos6</font></span>
        </div>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><font color="#ff0000" style="background-color: inherit;">vi&nbsp;/boot/grub/grub.conf<span style="text-align: left; color: rgb(0, 0, 0); font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span></span></font></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="background-color: inherit;">设置<span lang="EN-US" style="background-color: inherit;">default</span>值(从<span lang="EN-US" style="background-color: inherit;">0</span>开始),一般新安装的内核在第一个位置,所以设置<span lang="EN-US" style="background-color: inherit;">default=0</span>。</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="background-color: inherit;"><span style="background-color: inherit;">&nbsp;</span></span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="background-color: yellow;">重启</span><span style="background-color: inherit;">,这时候你的内核就成功升级了,你可以删除你的旧内核了!</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="background-color: inherit;">查看内核版本</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="background-color: inherit;">uname&nbsp;&ndash;r</span></span></span>

            &nbsp;

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: black; background-color: white;">列出所有的内核文件----选配----一般不用删除</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="background-color: inherit;">rpm&nbsp;</span><span lang="EN-US" style="background-color: inherit;">-q</span><span lang="EN-US" style="background-color: inherit;">&nbsp;</span><span lang="EN-US" style="background-color: inherit;">kernel&nbsp;&nbsp;</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="color: black; background-color: white;">rpm -qa | grep kernel</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: black; background-color: white;">选择你要删除的内核文件</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="background-color: inherit;"><span style="background-color: inherit;">&nbsp;</span></span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: black; background-color: white;">不推荐直接使用</span><span lang="EN-US" style="color: black; background-color: white;">: rpm -e </span><span style="color: black; background-color: white;">的方法删除内核包,</span><span style="color: black; background-color: white;">而是使用</span><span lang="EN-US" style="color: black; background-color: white;"> yum remove </span><span style="color: black; background-color: white;">进行删除,</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="color: black; background-color: white;">因为使用</span><span lang="EN-US" style="color: black; background-color: white;">yum remove</span><span style="color: black; background-color: white;">删除,</span><span lang="EN-US" style="color: black; background-color: white;"> yum </span><span style="color: black; background-color: white;">会自动移除</span><span style="color: black; background-color: white;">:</span><span lang="EN-US" style="color: black; background-color: white;">&nbsp;</span>**<span lang="EN-US" style="color: red; background-color: white;">/boot/grub/menu.lst</span>**<span style="background-color: inherit;">**<span lang="EN-US" style="color: red; background-color: white;">&nbsp;</span>**</span><span style="color: black; background-color: white;">中的相关启动项。</span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span lang="EN-US" style="color: black; background-color: white;">yum remove kernel-2.6.32-504.8.1.el6.x86_64</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: black; background-color: white;">还有</span><span lang="EN-US" style="color: black; background-color: white;">kernel-devel </span><span style="color: black; background-color: white;">要删除</span></span></span>

            <span style="font-family: times new roman,times,serif;"><span style="font-size: 16px;"><span style="color: black; background-color: white;">####</span></span></span>

            <span style="background-color: rgb(255, 255, 0);">多个内核版本要注意/boot分区空间</span>

            #############

            简单升级如下

            1下载

            ![](data:image/png;base64,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)

            2安装

            rpm -ivh kernel-lt-*

            sed -i &quot;s/default=1/default=0/g&quot; /boot/grub/grub.conf

            reboot

            ####

            &nbsp;

    </div>

        &nbsp;

</div>