Today, we neither analyze the kernel source code nor compile the source code, but only download the source code of the Linux kernel corresponding to your CentOS. I. preparations
Today, we neither analyze the kernel source code nor compile the source code, but only download the source code of the Linux kernel corresponding to your CentOS.
I. preparations
1. how to query your CentOS version
See http://blog.csdn.net/yunying_si/article/details/23679769
2. how to query the Linux kernel version
[Root @ syy ~] # Uname-r2.6.32-431.3.1.el6.i686
II. where to download
After the above preparations, I know that my CentOS version is 6.5 and the kernel version is 2.6.32-431.3.1.
Source code official website: http://vault.centos.org/
After entering the official website, in turn is to enter 6.5/, enter OS/, enter Source/, enter SPackages/, find the kernel-2.6.32-431.el6.src.rpm, download on the line.