Created
December 13, 2015 10:59
-
-
Save theclanks/4921e2dba06f31a930a6 to your computer and use it in GitHub Desktop.
FreeBSD Configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/boot/loader.conf: | |
zfs_load="YES" | |
cuse4bsd_load="YES" | |
kern.ipc.shmmax=67108864 | |
kern.ipc.shmall=32768 | |
kern.ipc.shmmni=1024 | |
kern.ipc.shmseg=1024 | |
vboxdrv_load="YES" | |
vboxdrv_load="YES" | |
kern.maxfiles="200000" | |
# Kernel Options | |
kern.maxproc=10000 | |
fuse_load="YES" | |
coretemp_load="YES" | |
tmpfs_load="YES" | |
aio_load="YES" | |
libiconv_load="YES" | |
libmchain_load="YES" | |
cd9660_iconv_load="YES" | |
msdosfs_iconv_load="YES" | |
atapicam_load="YES" | |
sem_load="YES" | |
linprocfs_load="YES" | |
linsysfs_load="YES" | |
beastie_disable="NO" | |
loader_logo="fbsdbw" | |
vfs.zfs.prefetch_disable="0" | |
vfs.zfs.txg.timeout="5" | |
vfs.zfs.write_limit_override=1073741824 | |
#vm.kmem_size="330M" | |
#vm.kmem_size_max="330M" | |
##vfs.zfs.arc_max="1024M" | |
#vfs.zfs.vdev.cache.size="5M" | |
usb_quirk_load="YES" | |
# VT | |
kern.vty=vt | |
######################## | |
/etc/rc.conf: | |
hostname="bsd" | |
#keymap="br275.iso.acc.kbd" | |
ifconfig_bge0="DHCP" | |
sshd_enable="YES" | |
ntpd_enable="YES" | |
powerd_enable="YES" | |
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable | |
dumpdev="AUTO" | |
zfs_enable="YES" | |
ssh_enable="YES" | |
hald_enable="YES" | |
dbus_enable="YES" | |
#slim_enable=yes | |
kdm4_enable="YES" | |
webcamd_enable="YES" | |
devfs_system_ruleset="system" | |
tcsd_enable="NO" | |
linux_enable="YES" | |
vboxnet_enable="YES" | |
cupsd_enable="YES" | |
asterisk_enable="YES" | |
linux_enable="YES" | |
fcgiwrap_enable="YES" | |
#fcgiwrap_profiles="myserver" | |
#fcgiwrap_flags="-c 4" | |
#fcgiwrap__socket="unix:/var/run/fcgiwrap.socket" | |
#fcgiwrap_user="www" | |
clamav_freshclam_enable="YES" | |
clamav_clamd_enable="YES" | |
nginx_enable="YES" | |
############################ | |
/etc/sysctl.conf | |
kern.ipc.shm_allow_removed=1 | |
vfs.usermount=1 | |
hw.snd.default_auto=1 | |
hw.snd.default_unit=1 | |
kern.sched.preempt_thresh=224 | |
hw.syscons.bell=0 | |
kern.maxvnodes=250000 | |
compat.linux.osrelease=2.6.18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment