Linux Kernel configuration (1)

Source: Internet
Author: User

Kernel configurationThe process is cumbersome, but the configuration is appropriate or notLinuxIs directly related, it is necessary to understand some of the main and frequently used options.

You can use one of the following commands to configure the kernel based on your needs and hobbies:

# Make config is the most traditional text-based configuration interface and is not recommended)

# Make menuconfig is based on the text menu configuration interface, which is recommended for character terminals)

# Make xconfig is based on the configuration interface of the graphic window mode, which is recommended in Xwindow)

# Make oldconfig saves a lot of trouble if you only want to modify some small points based on the original Kernel configuration)

Among the three 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.

When you select the corresponding configuration, there are three options, which represent the following meanings:

Y -- compile this function into the kernel

N -- do not compile this function into the kernel

M -- compile this function into a module that can be dynamically inserted into the kernel as needed

The following are all configuration-related things to be used:

1. Memory Technology DeviceMTD)

MTD device support. Optional.

2. Parallel port support

Serial Port support. If you do not want to use the serial port, do not select it.

3. Plug and Play configuration

Plug-and-play is supported. Although plug-and-play in Linux is not as good as that in Windows currently, you can choose it. In this way, you can unplug the mouse and try plug-and-play in Linux.

4. Block devices

Block device support. You have to select one based on your own situation. Here is a brief description:

Normal PC floppy disk support: general PC floppy disk support. This should be required.

XT hard disk support:

Compaq SMART2 support:

Mulex DAC960/DAC1100 pci raid Controller support: For RAID images.

Loopback device support:

Network block device support: supported by Network block devices. If you want to access the Internet neighbors, choose.

Logical volume managerLVM) support: Logical volume management support.

Multiple devices driver support: supports Multiple device drivers.

RAM disk support: ramdisk support.

5. Networking options

Network options. The network protocol is configured here. There is too much content. I will not introduce it one by one. Let's take a look at it. If you have some knowledge about network protocols, you should be able to understand it. If you are too lazy to check the network type, you must select the TCP/IP networking option.

Let's take a look at TCP/IP, ATM, IPX, DECnet, Appletalk ...... Many protocols are supported, IPv6 is supported, Qos and/or fair queueing is also supported, and kHTTPd is also supported, but these are still in the experimental stage.

6. Telephony Support

Phone support. What is this? Let me check the help. It turns out that Linux supports phone cards, so that you can use a common phone to provide voice services on an IP address. Remember, the phone card has nothing to do with modem.

7. ATA/IDE/MFM/RLL support

This is supported by hard disks, optical drives, tapes, and floppy disks with many interfaces. Use the default options. If you use special devices, such as PCMCIA, find the corresponding options.

8. SCSI support

Support for SCSI devices. I don't have a SCSI device, so I don't need to select it. If you use a SCSI hard drive, optical drive, tape, and other devices, you can find them yourself.

9. IEEE 1394 FireWire) support what is this? I have never seen any earlier version. Let's look at the help. I used to use Fireware hardware to improve the performance of the serial bus. I did not select it.

10. I2O device support

This is not clear. In the help section, it is said that the I2O interface adapter is required for support. It is used in Intelligent Input/OutputI2O system interfaces and hardware is required.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.