FreeBSD网站平台建设全过程 第一步(3)

2008-02-23 08:03:48来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26 obrien Exp $

machine i386
cpu I586_CPU
cpu I686_CPU
ident kernel_wwwx             #内核文件名,这个要和你的内核文件名一致
maxusers 0

options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
                # output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
                # output. Adds ~215k to driver.

device tun 1

options IPFIREWALL                #防火墙
options IPFIREWALL_FORWARD            #允许透明代理
options IPFIREWALL_VERBOSE            #允许防火墙日志
options IPFIREWALL_VERBOSE_LIMIT=100       #限制日志
options IPFIREWALL_DEFAULT_TO_ACCEPT      #默认允许所有IP包
options IPDIVERT                 #启用由ipfw divert使用的转向IP套接字

# To make an SMP kernel, the next two are needed
# options SMP # Symmetric MultiProcessor Kernel
# options APIC_IO # Symmetric (APIC) I/O

device isa
device eisa

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:FreeBSD网站平台建设全过程 第二步

下一篇:Zhcon的安装和使用(2)