CentOS upgrade Kernel (compile and install)

Source: Internet
Author: User

Yum install-y wget gcc gc BC GD make Perl ncurses-devel XZ
: https://www.kernel.org
#tar-JXVF Linux-3.4.56.tar.xz
#mv linux-3.4.56/usr/src/linux-3.4.56
#cd/usr/src/linux-3.4.56

# make Mrproper #清除环境变量, that is, clear the configuration file

# Make Menuconfig
Increase or decrease the kernel according to your own needs. After you press the TAB key to jump to < Exit > on the menu below, enter the system and ask

wish to save your new configuration to continue.

< Yes >< No >


The menu defaults to < Yes >, press ENTER to confirm the save.

# Make Clean #确保所有东西均保持最新状态.

# Make Bzimage #生成内核文件

# Make Modules #编译模块

# Make Modules_install #安装模块

# Make Install #安装


Edit

#vi/etc/grub.conf file, change default=1 to Default=0

Reboot the system and view the kernel

# reboot

# Uname-r Reference: http://blog.sina.com.cn/s/blog_6c25b1e50101ekf2.htmlhttp://michaelkang.blog.51cto.com/1553154/1266825

CentOS upgrade Kernel (compile and install)

Related Article

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.