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/
- [root@localhostlinux-3.10.28]#pwd
- /root/Downloads/linux-3.10.28
- [root@localhostlinux-3.10.28]#cp/boot/config-2.6.32-431.el6.i686.config
- [root@localhostlinux-3.10.28]#sh-c'yes""|makeoldconfig'
- [root@localhostlinux-3.10.28]#makemenuconfig
- [root@localhostlinux-3.10.28]#make-j4bzImage
- [root@localhostlinux-3.10.28]#make-j4modules
- [root@localhostlinux-3.10.28]#make-j4modules_install
- [root@localhostlinux-3.10.28]#make-j4install
- [root@localhostlinux-3.10.28]#cp/etc/grub.conf/etc/grub.conf.bak
- [root@localhostlinux-3.10.28]#vim/etc/grub.conf
調整下kernel的啟動順序就OK了。
[plain]view plaincopy


- [root@localhostlinux-3.10.28]#reboot
- Broadcastmessagefromroot@localhost.localdomain
- (/dev/pts/1)at19:38...
- ThesystemisgoingdownforrebootNOW!
再次進來就是新的kernel了。
http://xxxxxx/Linuxjc/1184705.html TechArticle