Ubuntu Upgrade Kernel

Source: Internet
Author: User

See Microsoft Open source, compatible, broad-minded, very happy, today study Docker, view the Ubuntu kernel version, found that 2.3 is a bit low, does not conform to the current version.

Minimum kernel version requires 3.10.

Upgrade the Ubuntu kernel.

First of all

Download Kernel website https://www.kernel.org/

Copy Https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.43.tar.xz

You can choose whichever version is right for you.

Under/usr/src/kernels/in Linux

#wget HTTPS://WWW.KERNEL.ORG/PUB/LINUX/KERNEL/V3.X/LINUX-3.14.43.TAR.XZ

Unzip after download is complete

# TAR-XJVF LINUX-3.14.43.TAR.XZ

OK, install the installation package GCC and Ncurses-devel

# yum-y Install gcc Ncurses-devel

Then switch directories to/usr/src/kernels/linux-3.16.1

#make Help

The Help contains Menuconfig

Execute menuconfig command appears graphic

#make Menuconfig

Choose Save

Enter

OK enter

Enter exit

Continue execution

#make

If there are errors, such as

Make[1]: Nothing to is done for ' all '.
Make[1]: Nothing to is done for ' Relocs '.
CHK Include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Call scripts/checksyscalls.sh
CHK include/generated/compile.h
MAKE[3]: ' Arch/x86/realmode/rm/realmode.bin ' is up to date.
BC kernel/timeconst.h
/bin/sh:bc:command not found
MAKE[1]: * * * [kernel/timeconst.h] Error 127
Make: * * * [kernel] Error 2

is because a successful BC is not installed

#yum-y Install BC

After the installation is complete, perform

#make

Compile the kernel to generate the module files. Wait a long time

Execute make when finished to generate kernel files and module files

#make All

Execute Make Modules_install installation module

#make Install

Restart

#shutdown-R 0

Select a new kernel boot

View current kernel,

#uname-R

Ubuntu Upgrade Kernel

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.