View System kernel
#uname-R (view kernel version of the system)
# cat/etc/centos-release (View system Information)
Yum Grouplist (see if the system needs to install the development environment and the development Library)
Yum Groupinstall "Development tools" (ensures that the tools you need at compile time are complete)
Yum Install Ncurses-devel (ensure the Make *config instructions are correct)
Yum install Qt-devel (x environment requires this.) Choose according to the actual situation)
Yum install yum install Hmaccalc zlib-devel binutils-develelfutils-libelf-devel (used when creating the CENTOS6 kernel)
Tied to the required system kernel
TAR-XF downloaded kernel file-c/xxx/xxx
Cd/xxx/xxx
cp/boot/config-xxxxxxxxxxxxxxx. config (copy the file at the beginning of the config under boot to the current directory and rename it to. config)
Sh-c ' Yes ' | Make Oldconfig ' (read the copied. config file. If you have a module that needs to be added or modified, you can use make memuconfig to modify the run-after interface similar. Make Oldconfig will generate a new. config file and back up the. config file from the previous CP to. Config.old and generate a new. config file)
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7D/0C/wKioL1bfgI2z_2uwAAEGu9jJCTI513.png "title=" 1.png " alt= "Wkiol1bfgi2z_2uwaaegu9jjcti513.png"/>
14.make-j4 Bzimage Generating kernel files
15.MAKE-J4 modules (Compile the module, do not run the words will be in the make install times wrong)
16.make-j4 Modules_install (Compile and install module)
-j4 sets the number of threads compiled. The logical CPU is 4. If the 8 core can make the-J8 modules compilation process takes a long time
17.make Install (for installation)
The ERROR:modinfo:could not find module Vmware_balloon appears, but does not affect the kernel installation, because the modules that vsphere requires are not compiled, to avoid this problem, You need to modify the. config file before make to add
Hypervisor_guest=y
Config_vmware_balloon=m
18. Modify the Grub boot entry
Default=0 The default value is 1 generally the newly installed kernel is the first one. Just default=0.
Confirm Kernel Version
Over
Upgrading the Linux kernel