FreeBSD 6.2+APACHE+PHP+MYSQL WEB服务器入门级…
2009-05-13 10:43:14来源:未知 阅读 ()
设置DNS
===========================================
ee /etc/resolv.conf
修改
nameserver 10.0.xx.xx
nameserver 10.0.xx.xx
设置cvsup
===========================================
ee /usr/share/examples/cvsup/standard-supfile
ee /usr/share/examples/cvsup/ports-supfile
*default host=cvsup.freebsd.org
cvsup -L 2 -h cvsup.freebsd.org /usr/share/examples/cvsup/standard-supfile
rehash
cvsup -L 2 -h cvsup.freebsd.org /usr/share/examples/cvsup/ports-supfile
rehash
网络优化
===========================================
ee /etc/sysctl.conf
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
安装多线程下载工具axel
===========================================
cd /usr/ports/ftp/axel
make install clean
rehash
ee /etc/make.conf
FETCH_CMD=axel
FETCH_BEFORE_ARGS= -n 10 -a
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes
MASTER_SITE_OVERRIDE?=\
http://ports.freebsd.org/
${DIST_SUBDIR}/\
ftp://ftp.us.freebsd.org/pub/FreeBSD/ports/distfiles/
${DIST_SUBDIR}/\
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/
${DIST_SUBDIR}/\
ftp://ftp.ca.freebsd.org/pub/FreeBSD/ports/distfiles/
${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=${MASTER_SITE_BACKUP}
配置中文环境
===========================================
ee /.cshrc
setenv EDITOR ee
setenv LC_ALL zh_CN.GBK
setenv LANG zh_CN.GBK
setenv LC_CTYPE zh_CN.GBK
# cd /usr/ports/chinese/cce/
# make install clean ; rehash
安装perl
===========================================
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
上一篇:rsync帮助
下一篇:LDAP_TABLE
- FreeBSD下nginx+fast-cgi+mysql+zend的实现 2009-05-13
- gd 安装报错.求助 2009-05-13
- virtualbox for freeBSD 2009-05-13
- 从网上下载的packages为什么本地安装不了?[已解决!] 2009-05-13
- 求PC-BSD 7.1安装指南? 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash