Original System: centos6.3 kernel 2.6.32 updated to 3.6.9!
If you don't talk nonsense, go directly:
1,Download linux-3.6.9 kernel package Baidu, unzip
2. Kernel configuration (do not copy the usage check box on the network. If this check box is selected, an error is returned. Partially compiled into modules)
# Make mrproper # Clear environment variables, that is, clear the configuration file
# Make menuconfig # select the kernel module to be compiled in menu Mode
Find the following selected options and select networking support → networking options → network packet filtering framework (netfilter)
(1) Core netfilter Configuration
- Compile "netfilter Connection Tracking Support" into a module.
- Compile NetBIOS Name Service protocal support (new) into a module. Otherwise, an error will occur when iptables is upgraded later.
- Compile "netfilter xtables support (required for ip_tables)" into a module
(2) IP: netfilter Configuration
- Compile "IPv4 Connection Tracking Support (require for Nat)" into a module.
- Compile the IP Tables support (required for filtering/masq/NAT) into a module.
- 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 you do not understand, refer to the Kernel configuration manual.
# Make clean # Make sure everything is up to date.
# Make bzimage # generate the Kernel File
# Make modules # compilation Module
# Make modules_install # installation Module
# Make instal # I wish you a successful installation
4. Edit/Etc/grub. confFileDefault = 1ChangeDefault = 0
5,Reboot
Next, learn about the ext4 file system!