Reximinate and compile the system kernel on Redhat AS 3.0

zhaozj2021-02-16  50

We actually have a lot during the installation of Lunux, and we don't need the module in the system kernel of Linux, and each time these no kernel modules (under specific requirements) each time it is started. In the system kernel, this will not only have a large amount of memory, but more serious is that the operating efficiency of the system kernel will be greatly reduced. Below is the practice process of my streamlined and compiled system kernels. 1. Compilation Environment Description: Specially, it is specifically described here to install a system compilation environment before compiling the system kernel. Under normal circumstances, select Kernel Development and development tools when installing Linux. If you don't have an option at the time, please install it separately, otherwise the process of compiling the system kernel will be wrong. In addition, we must log in locally and cannot log in to the system through remote console.

2. Remove extra kernel modules: # su - # cd /usr/src/linux-2.4 # make mrproperty If it is a new-installed system omitted this # make metronfig If you don't need parallel device support (such as traditional printers), log out this option : Parallel Port Support ---> If you use the IDE hard drive (you will affect the use of USB devices), log out this option: SCSI Support ---> If you don't have IEEE 1394 (FireWire) equipment, logout this option: IEEE 1394 ( FireWire) -> If there is no following requirements in your network, cancel the following subsections of this option: Network Device Support ---> FDDI Driver Support Fiber Network Ethernet (1000 Mbit) 1000M Network ATM Drivers ATM Network PCMCIA Network Device Support notebook computer Support Wireless Lan (Non-Hamradio) Wireless Network Token Ring Devices Token Ring Network If you don't want to set up a spare radio station with Linux, log out of this option: Amateur Radio Support ---> If you don't want to use infrared devices, log out this option : Irda (Infrared) Support ---> If you don't have an ISDN line, log out this option: isdn subsystem ---> If you don't support I20 (Pic's supercoming) device, log out this option: i2o Device Support - -> If you only want Linux quiet work, log out this option: Sound ---> If you don't have a USB interface device and disgusting the USB device, log out of this option: USB Support ---> If you don't have IBM Bluetooth devices ( The market is very small in this product), logouts this option: Bluetooth Support ---> If you have other kernel needs, find the relevant Nuclear options: 3. Starting kernel compilation: # Make Dep When you need 5 minutes # make clean approximately 5 seconds # make bzimage For 10 minutes # make modules More than 30 minutes # Make MODULES_INSTALL will take about 1 minute # Reboot 4. Rendering of compilation: My system has completed the above compile, the system memory takes up 35m, and the occupation of CUP has declined, and my system service is:

转载请注明原文地址:https://www.9cbs.com/read-18850.html

New Post(0)