歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> 學習Linux >> CentOS 6.5 i386升級內核到3.10.28

CentOS 6.5 i386升級內核到3.10.28

日期:2017/3/3 17:47:44   编辑:學習Linux

CentOS 6.5 i386升級內核到3.10.28

CentOS 6.5 i386升級內核到3.10.28


CentOS 6.5 i386升級內核到3.10.28

這個相對簡單,直接看具體的操作過程就行了。

至於下載linux-3.10.28.tar.gz包我就不寫了,會升級難道不會下載個TAR包,^_^ !!

操作:

[plain]view plaincopy在CODE上查看代碼片派生到我的代碼片
  1. [root@localhost~]#uname-ra
  2. Linuxlocalhost.localdomain2.6.32-431.el6.i686#1SMPFriNov2200:26:36UTC2013i686i686i386GNU/Linux
  3. [root@localhost~]#yum-yinstallmakegccgcc-c++kernel-develm4ncurses-developenssl-develgccgcc-c++zlibzlib-develhmaccalczlib-develbinutils-develelfutils-libelf-devel
  4. [root@localhost~]#cdDownloads/linux-3.10.28/
  5. [[email protected]]#pwd
  6. /root/Downloads/linux-3.10.28
  7. [[email protected]]#cp/boot/config-2.6.32-431.el6.i686.config
  8. [[email protected]]#sh-c'yes""|makeoldconfig'
  9. [[email protected]]#makemenuconfig
  10. [[email protected]]#make-j4bzImage
  11. [[email protected]]#make-j4modules
  12. [[email protected]]#make-j4modules_install
  13. [[email protected]]#make-j4install
  14. [[email protected]]#cp/etc/grub.conf/etc/grub.conf.bak
  15. [[email protected]]#vim/etc/grub.conf
調整下kernel的啟動順序就OK了。

[plain]view plaincopy在CODE上查看代碼片派生到我的代碼片
  1. [[email protected]]#reboot
  2. [email protected]
  3. (/dev/pts/1)at19:38...
  4. ThesystemisgoingdownforrebootNOW!


再次進來就是新的kernel了。

http://xxxxxx/Linuxjc/1184705.html TechArticle

Copyright © Linux教程網 All Rights Reserved