当前位置:网站首页>FreeBSD 12 国内源提速 pkg 和 ports 做个笔记
FreeBSD 12 国内源提速 pkg 和 ports 做个笔记
2022-07-17 05:21:00 【sayang_shao】
国内的中科大dpk源 : mirrors.ustc.edu.cn/freebsd-pkg//${ABI}/quarterly
使用axel下载,这个工具支持多线程下载和断点续传。
安装axel:#cd /usr/ports/ftp/axel #make install clean
安装完axel后,可以修改make.conf文件,指定axel为下载工具。
#ee /etc/make.conf
写入:
FETCH_CMD=axel -n 30 表示使用30个线程下载
DISABLE_SIZE=yes
//以下为国内现在能用的ports源,下载速度都在1M左右,挺快的
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/
边栏推荐
猜你喜欢

2022-7-15 cheap domestic PLC industrial control board with scattered records of 485 master-slave communication

Wu Enda machine learning chapter 14-15

Pytorch deep learning practice-b station Liu erden-day4

【自动化测试】——robotframework实战(三)编写测试用例

Pytorch deep learning practice-b station Liu erden-day6

mass data

聊聊中台:我对中台的一些理解与思考

wireshark抓包:错误分析

TCP/IP协议学习

Slag learning road (2) pure white direction: win Server 2003 server building
随机推荐
Share the application cases of CS brand patch T card in the field of hunting camera
TCP/IP协议学习
SQL constraints
top命令
可怜小凡(模拟)
NAND nor flash flash flash product overview
Entry level of simple irules writing
Wu Enda machine learning chapter 3-4
Talk about Zhongtai: my understanding and thinking about Zhongtai
OpenSSL---堆栈
小迪网络安全笔记-信息收集-架构、搭建、waf(8)
Dual tone sorting of CUDA and large arrays
Binary search and its extension
F5 GTM(一):DNS参数
BigDecimal中divide方法
Wu Enda machine learning chapter 14-15
Temperature acquisition experiment and experimental experience based on I2C
MySQL MySQL calculates the number of weekends this year (Saturday and Sunday)
安全电子签章密码技术规范 GM/T 0031 | GB∕T 38540 格式OPENSSL封装解析
What is data center?