Why do you want to say "where is FC4 ?"ArticleIt is found that the FC4 kernel compilation is very different from the previous RH, because the process is simpler.
Download the latest kernel at www.kernel.org, put it under/usr/src, and decompress it.
There are several ways to customize
# Make config (the most traditional text-based configuration interface is not recommended)
# Make menuconfig (Text menu-based configuration interface, recommended for character terminals)
# Make xconfig (the configuration interface based on the graphic window mode is recommended in XWindow)
# Make oldconfig (if you only want to modify some small points based on the original Kernel configuration, it will save a lot of trouble)
Among the four commands, the make xconfig interface is the most friendly. If you can use XWindow, we recommend that you use this command.
If you cannot use XWindow, use make menuconfig. Although the interface is worse than the previous one, it is better than make config.
Requires several hundred MB of space. After compilation
Make modules_install
This process is very fast.
Make install
This completes the compilation and tests an imgfile under/boot. If you restart the file, you will be asked to choose to use the new kernel in grub.
Background:
Linux, as a free software, is constantly updated with the support of many enthusiasts. The new kernel fixes bugs in the old kernel and adds many new features. If you want to use these new features or customize a more efficient and stable kernel based on your system, you need to recompile the kernel.
Generally, the updated kernel supports more hardware, provides better process management capabilities, and runs faster and more stably. It also fixes many vulnerabilities found in earlier versions, it is necessary for Linux users to regularly upgrade and update the system kernel.
In order to properly set the kernel compilation configuration options, only compile the functions required by the systemCodeGenerally, there are four main considerations:
Customized and compiled kernels run faster (with less code)
The system will have more memory (the kernel part will not be exchanged to the virtual memory)
Compilation of unnecessary functions into the kernel may increase the vulnerability exploited by system attackers.
Compiling a function as a module is slower than compiling it into the kernel.
Kernel compilation Mode
To support a certain part of functions, such as the network, you can compile the corresponding part into the kernel (build-in) or compile the part into a module ), dynamic call.
If it is compiled into the kernel, the corresponding functions can be automatically supported when the kernel is started. This advantage is convenient and fast, and the machine starts once, you can use this feature. The disadvantage is that it will make the kernel huge. Whether you need this feature or not, it will exist. This is the common practice of windows, we recommend that you compile the frequently used parts directly into the kernel, such as the NIC.
If it is compiled into a module, the corresponding. o file will be generated and can be dynamically loaded during use. The advantage is that the kernel will not be too large, but you have to call these modules by yourself.