Article Title: Upgrade the CentOS kernel in four steps. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source and other basic categories. to test some software, kernel 2.6.30 or above is required, and CentOS 5.5 is installed, the kernel is 2.6.18-194. el5. the upgrade is still smooth. The specific process is as follows:
1. Download The linux-2.6.30 kernel package to the/usr/src directory
Networking support-> networking options-> network packet filtering framework (netfilter)
(1). core netfilter configuration
"Netfilter connection tracking support"-m state-related modules depend on it. If this parameter is not selected, no.
B. Compile netbios name service protocal support (new) into a module. Otherwise, an error will occur when iptables is upgraded later.
"Netfilter Xtables support (required for ip_tables)" in the C check box )"
(2). IP: Netfilter Configuration
A compiles "IPv4 connection tracking support (require for NAT)" into A module.
IP tables support (required for filtering/masq/NAT) in "B ).
C. Compile "MASQUERADE target support" and "REDIRECT target support" under "Full NAT" into a module.
(3) other modules can be selected based on their own needs. If not, refer to the Kernel configuration manual.
Make clean make sure everything is up to date.
Make bzImage to generate the Kernel File
Make modules compilation Module
Make modules_install installation Module
Make install Installation
Mkinitrd/boot/initrd_2.6.30.img 2.6.30 generate an image file based on the kernel version and specified parameters
Cp arch/x86/boot/bzImage/boot/vmlinuz-2.6.30
Cp/usr/src/linux-2.6.30/System. map/boot/System. map-2.6.30
2. Add the following 2.6.30 information in/etc/grub. conf and change default = 1 to default = 0.
[1] [2] Next page