歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 你可能要經常使用的內核編譯的參數

你可能要經常使用的內核編譯的參數

日期:2017/2/27 9:31:01   编辑:更多Linux
  1.安裝Oracle 8.0.5:   options SHMMAXPGS=10000   options SHMMNI=100   options SHMSEG=10   options SEMMNS=200   options SEMMNI=70   options SEMMSL=61   2.關機並切斷電源命令:   shutdown -p now     修改內核,增加:   device apm0 at isa?   在/etc/rc.conf增加:   apm_enable="YES"     重新開機,鍵入dmesggrep apm可看到:   apm0 on isa   apm:found APM BIOS version 1.2     3.mplayer需要:     options CPU_ENABLE_SSE   options USER_LDT     4.配置聲卡需要(針對pci即插即用):   device pcm   編譯安裝重起後   cd /dev   ./MAKEDEV snd0     5.編譯內核的簡單過程:   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   (啟動後的內核名就會是MYKERNEL)   6. vi MYKERNEL   7. 添加你需要修改的參數   8. config MYKERNEL (config是命令)   9. cd ../../compile/MYKERNEL   10. make depend   11. make   12. make install   13. reboot




Copyright © Linux教程網 All Rights Reserved