CenOS6.4 system upgrade kernel, cenos6.4 system upgrade

Source: Internet
Author: User
Tags install perl

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.