当前位置:网站首页>FreeBSD 12 domestic source speed up PKG and ports take a note

FreeBSD 12 domestic source speed up PKG and ports take a note

2022-07-19 07:00:00 sayang_ shao

China University of science and technology dpk Source :  mirrors.ustc.edu.cn/freebsd-pkg//${ABI}/quarterly

Use axel download , This tool supports multi-threaded downloading and breakpoint resuming .

install axel:#cd /usr/ports/ftp/axel                  #make install clean

installed axel after , You can modify make.conf file , Appoint axel For download tools .

#ee /etc/make.conf

write in :

FETCH_CMD=axel -n 30     Said the use of 30 Thread download

DISABLE_SIZE=yes

// The following is what can be used in China now ports Source , The download speed is 1M about , Pretty fast

MASTER_SIDE_OVERRIDE?=\
http://mirrors.163.com/freebsd/ports/distfiles/\
http://mirrors.aliyun.com/freebsd/ports/distfiles/\
http://ports1.chinafreebsd.cn/distfiles/\
http://ftp2.za.freebsd.org/pub/FreeBSD/ports/distfiles/\
http://distcache.FreeBSD.org/ports-distfiles/\
ftp://ftp2.tsinghua.edu.cn/mirror/FreeBSD/ports/distfiles/\
ftp://freebsd.csie.nctu.edu.tw./pub/FreeBSD/ports/distfiles/\
ftp://ftp.hk.freebsd.org/pub/FreeBSD/ports/distfiles/\
ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/distfiles/

 

原网站

版权声明
本文为[sayang_ shao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/200/202207170520054665.html