升級CentOS核心 - 2.6升級到3.10

來源:互聯網
上載者:User

標籤:arch   lease   ldo   www   install   local   https   localhost   推薦   

*因為學習docker的需要,docker的官方推薦核心使用3.8以上,所以本人決定把CentOS核心升到長期穩定版的3.10。

##記得切換到root使用者執行升級操作.[[email protected] ~]# uname -a   ##舊版Linux localhost.localdomain 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux [[email protected] ~]# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org[[email protected] ~]# 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 改為 default=0  ##設定預設以3.10核心啟動,預設是按照舊的核心啟動[[email protected] ~]# reboot [[email protected] ~]# uname -a  ##升級後的版本Linux localhost.localdomain 3.10.104-1.el6.elrepo.i686 #1 SMP Fri Oct 21 09:11:59 EDT 2016 i686 i686 i386 GNU/Linux

  

  

升級CentOS核心 - 2.6升級到3.10

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.