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
- [root@localhost~]#uname-ra
- Linuxlocalhost.localdomain2.6.32-431.el6.i686#1SMPFriNov2200:26:36UTC2013i686i686i386GNU/Linux
- [root@localhost~]#yum-yinstallmakegccgcc-c++kernel-develm4ncurses-developenssl-develgccgcc-c++zlibzlib-develhmaccalczlib-develbinutils-develelfutils-libelf-devel
- [root@localhost~]#cdDownloads/linux-3.10.28/
- [[email protected]]#pwd
- /root/Downloads/linux-3.10.28
- [[email protected]]#cp/boot/config-2.6.32-431.el6.i686.config
- [[email protected]]#sh-c'yes""|makeoldconfig'
- [[email protected]]#makemenuconfig
- [[email protected]]#make-j4bzImage
- [[email protected]]#make-j4modules
- [[email protected]]#make-j4modules_install
- [[email protected]]#make-j4install
- [[email protected]]#cp/etc/grub.conf/etc/grub.conf.bak
- [[email protected]]#vim/etc/grub.conf
調整下kernel的啟動順序就OK了。
[plain]view plaincopy
- [[email protected]]#reboot
- [email protected]
- (/dev/pts/1)at19:38...
- ThesystemisgoingdownforrebootNOW!
再次進來就是新的kernel了。
http://xxxxxx/Linuxjc/1184705.html TechArticle