FreeBSD-安装多线程下载软件axel提速Ports安装
一、安装axel
# make install
二、配置make.conf
加入:
FETCH_CMD=axel
FETCH_BEFORE_ARGS= -n 10 -a
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes
MASTER_SITE_OVERRIDE?=\
http://ports.hshh.org/${DIST_SUBDIR}/\
http://ports.cn.freebsd.org/${DIST_SUBDIR}/\
ftp://ftp.freeBSDchina.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=${MASTER_SITE_BACKUP}
FreeBSD-网络优化
在网上找到一篇关于FreeBSD网络优化的文章,特转记于此:
net.inet.ip.check_interface=1
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.tcp.recvspace=65535
net.inet.tcp.sendspace=65535
kern.ipc.somaxconn=32768
kern.ipc.maxsockbuf=2097152
net.inet.ip.redirect=0
net.inet.icmp.icmplim=100
net.inet.tcp.always_keepalive=1
net.inet.tcp.delayed_ack=1
net.inet.udp.maxdgram=65535
net.local.stream.sendspace=65535
net.local.stream.recvspace=65535
kern.maxfiles=65536
kern.maxfilesperproc=65536
net.inet.udp.checksum=1
net.inet.tcp.msl=7500
net.inet.tcp.syncookies=1
net.inet.icmp.bmcastecho=0
net.inet.icmp.maskrepl=0
kern.securelevel=0
kern.maxdsiz="536870912"
kern.ipc.maxsockets="4008"
kern.ipc.nmbclusters="32768"
kern.ipc.nmbufs="65535"
kern.ipc.nsfbufs="2496"
net.inet.tcp.tcbhashsize="2048"
# shutdown -r now
解决SBS2003关机缓慢
安装或重新安装Exchange2003是直接从CD2上并不是从SBS2003集成安装时,SBS2003系统在关机时会出现缓慢的问题大约为10分钟左右才能关闭系统,微软已经确认此产品存在这个问题。
解决方法:
1、打开注册表编辑器,并定为到“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control”;
2、修改“WaitToKillServiceTimeout”的键值为“120000”
3、退出编辑器并重新启动SBS2003