CenOS6.4 system upgrade kernel, cenos6.4 system upgrade
Obtain the package of the kernel version to be upgraded
# Wget-c https://www.kernel.org/pub/linux/kernel/v3.x/internal kernel version
If the kernel compression format is tar. xz, You need to decompress the package in two steps.
#xz -d ***.tar.xz#tar -xvf ***.tar
Required library for Installation
# Yum install gcc-c ++ # yum install make # yum install ncurses-devel # yum install perl # yum install zlib-devel # yum install openssl-devel # yum install perl-devel # yum install perl-CAPN # yum install cpio # yum install expat-devel # yum install gettext-devel # yum install tcl # yum install wget (obtain the source code package online) command)
Install the zlib library:
1. download the latest zlib at http://www.zlib.net /.
#tar xvzf zlib-1.2.8.tar.gz#cd zlib-1.2.8 #./configure#make#make install
Installation command git
Wget http://git-core.googlecode.com/files/git-1.8.3.2.tar.gz (can also be changed to another version)
#tar xzvf git-1.8.3.2.tar.gz #cd git-1.8.3.2#autoconf#./configure#make#make install
Update Kernel
# Cd linux-3.8.8 # make mrproper; then remove the original configuration # make menuconfig; kernel settings
Save Configuration
# Make bzImage; Compile the kernel image (note that I is case sensitive)
# Make modules; Compilation Module
# Make modules_install; installation Module
# Make install; install the image
# Vi/etc/grub. conf; change the default startup Item to 0.
# Reboot; restart the machine