博文

目前显示的是标签为“学习笔记”的博文

FreeBSD6.1学习笔记 很全很初步 收藏

++设定网卡 1)简单点的用sysinstall–>Configure–>networking–>Interfaces 2)或直接手工配置 vi /etc/rc.conf #添加如下内容 ifconfig_lnc0=”inet 192.168.25.37? netmask 255.255.255.0″ #具体网卡名称和IP地址自已调 defaultrouter=”192.168.25.12″??? #网关 hostname=”freebsdsrv.zhangjianfeng.com”? #主机名称 ++多线程下载ports里的包 cd /usr/ports/ftp/axel make make install make clean 编辑make.conf文件 ee /etc/make.conf 增加以下内容 FETCH_CMD=axel DISABLE_SIZE=yes 修改配置文件 ee /usr/local/etc/axelrc 设置并发线程为10 num_connections = 10 默认的设置是4 ++加速pkg_add 速度 export? PACKAGEROOT=ftp://ftp.tw.freebsd.org? #bash ++设置ports的下载路径 # added by use.perl 2006-12-21 20:58:26 PERL_VER=5.8.8 PERL_VERSION=5.8.8 MASTER_SITE_OVERRIDE= \ ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR} \ ftp://ftp4.tw.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR} \ ftp://ftp10.tw.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR} \ ftp://ftp13.tw.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR} \ ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBD...