Upgrade CentOS kernel-2.6 upgrade to 3.10

Source: Internet
Author: User

* Because of the need to learn Docker, Docker's official recommendation kernel uses more than 3.8, so I decided to upgrade the CentOS kernel to a long-term stable version of 3.10.

# #记得切换到root用户执行升级操作. [[email protected] ~]# uname-a   # #旧版Linux localhost.localdomain 2.6.32-279.el6.i686 #1 SMP Fri June 10:59:55 UTC 201 2 i686 i686 i386 gnu/linux [[email protected] ~]# rpm--import https://www.elrepo.org/rpm-gpg-key-elrepo.org[[email prote CTED] ~]# rpm-ivh http://www.elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm[[email protected] ~]# Yum-- Enablerepo=elrepo-kernel install kernel-lt-y  # #此步会有点慢 [[email protected] ~]# vim/etc/grub.conf default=1 changed to default =0  # #设置默认以3.10 core boot, default is to follow the old core boot [[email protected] ~]# reboot [[email protected] ~]# uname-a  # #升级后的版本Linux Localhost.localdomain 3.10.104-1.el6.elrepo.i686 #1 SMP Fri Oct 09:11:59 EDT i686 i686 i386 gnu/linux

  

  

Upgrade CentOS kernel-2.6 upgrade to 3.10

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.