Freebsd8.1更新ports安装包

使用portsnap来更新步骤
(可以修改/etc/portsnap.conf的配置文件SERVERNAME=portsnap.hshh.org,以提高你的下载速度)
 
修改完毕后执行
#portsnap fetch
#portsnap extract
#portsnap update
 
使用cvsup安装更新步骤
a、首先安装cvsup
cd /usr/ports/net/cvsup-without-gui
make install clean
b、配置cvsup
cp /usr/share/examples/cvsup/ports-supfile /etc/ports-supfile
修改配置文件
ee /etc/ports-supfile
将*default host=CHANGE_THIS.FreeBSD.org修改为*default host=cvsup.cn.FreeBSD.org
c、执行cvsup
cvsup -L 2 /etc/ports-supfile

http://blog.chinaunix.net/uid-25672683-id-2733545.html

猜你喜欢

转载自wyzuomumu.iteye.com/blog/2221802
今日推荐