The kernel compilation parameters that you may frequently use
Source: Internet
Author: User
Article title: Kernel-compiled parameters that you may frequently use. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. install oracle 8.0.5:
Options SHMMAXPGS = 10000
Options SHMMNI = 100
Options SHMSEG = 10
Options SEMMNS = 200
Options SEMMNI = 70
Options SEMMSL = 61
2. power off and power off command:
Shutdown-p now
Modify the kernel and add:
Device apm0 at isa?
Add the following in/etc/rc. conf:
Apm_enable = "YES"
Reboot and type dmesg | grep apm. you can see:
Apm0 on isa
Apm: found apm bios version 1.2
3. mplayer:
Options CPU_ENABLE_SSE
Options USER_LDT
4. configure the sound card (for pci plug-and-play ):
Device pcm
After compilation and installation are restarted
Cd/dev
./MAKEDEV snd0
5. a simple process for compiling the kernel:
1. login as root, I am sure you know how to do it :-)
2. mkdir/root/kernels
3. cd/usr/src/sys/i383/conf
4. cp GENERIC/root/kernels/MYKERNEL
5. ln-s/root/kernels/MYKERNEL
(The Kernel name after startup will be MYKERNEL)
6. vi MYKERNEL
7. add the parameters you need to modify
8. config MYKERNEL (config is a command)
9. cd.../compile/MYKERNEL
10. make depend
11. make
12. make install
13. reboot
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