FreeBSD update ports + axel

ex:
portsnap fetch extract (if this is the first time you’re using portsnap)
portsnap fetch update
创建成功后只需要更新ports就可以了

用axel 加速
cd /usr/ports/ftp/axel && make install clean

然后编辑 vi /etc/make.conf
FETCH_CMD=axel
FETCH_BEFORE_ARGS= -n 10 -a
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes

保存退出,刷新 rehash / hash -r

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s