目录
- Aria2 简介
- 配置安装
- aria2图形化界面
- 常用命令
- 参考
Aria2 简介
Aria2 是一个多平台轻量级,支持 HTTP、FTP、BitTorrent 等多协议、多来源的命令行下载工具。Aria2 可以从多个来源、多个协议下载资源,最大的程度上利用了你的带宽。Aria2 有着非常小的资源占用,在关闭磁盘缓存的情况下,物理内存占用通常为 4M(正常 HTTP/FTP 下载的情况下),BitTorrent 下载每秒2.8M/S的情况下,CPU 占有率约为 6%。Aria2 支持 JSON-RPC 和 XML-RPC 接口远程调用。
aria2 可以说是命令行版下载工具软件中的神器无疑!深受广大技术爱好者和极客们的喜爱。
aria2c - The ultra fast download utility
aria2 is a utility for downloading files. The supported protocols are HTTP(S), FTP,
SFTP, BitTorrent, and Metalink. aria2 can download a file from multiple
sources/protocols and tries to utilize your maximum download bandwidth. It supports
downloading a file from HTTP(S)/FTP /SFTP and BitTorrent at the same time, while
the data downloaded from HTTP(S)/FTP/SFTP is uploaded to the BitTorrent swarm.
Using Metalink chunk checksums, aria2 automatically validates chunks of data while
downloading a file.
当前测试过多个HTTP多线程下载客户端,比如wget,curl,axel,oget,proz,aria2c,测试结果aria2c下载效率最快,基本可以压满网卡.
官网:https://aria2.github.io/
配置安装
官方下载:https://github.com/aria2/aria2/releases/tag/release-1.34.0
window下安装
Windows系统下如何安装Aria2?
参考URL: https://jingyan.baidu.com/article/ca00d56c1dc64de99eebcfcd.html
- 官方下载aria2-1.34.0-win-64bit-build1.zip
- 在D盘根目录新建文件夹,并重命名aria2
- 打开解压的文件夹,全选复制文件,粘贴到aria2
- 系统环境变量,加入你安装的aria2目录,方便使用命令
- 输上aria2c,回车,查看是否安装成功
aria2图形化界面
persepolis
官方下载:https://github.com/persepolisdm/persepolis/releases
[介绍]Persepolis Download Manager(PDM):Aria 2 图形界面版下载工具
参考URL: http://chromecj.com/productivity/2018-05/1420.html
Persepolis Download Manager (简称 PDM) 是一款封装了 Aria2 作为内核,并为其套上图形界面的开源免费下载软件。
Persepolis Download Manager (简称 PDM) 是一款封装了 Aria2 作为内核,并为其套上图形界面的开源免费下载软件。它能让你享受 Aria2 一切的特性,同时又帮助你完全跳过安装和配置 Aria2 那些繁琐的过程,并且有一个图形化的直观界面供你用鼠标进行操作,你就像用迅雷、Folx 等下载工具一样的简单明了,而不必再对着命令行发愁。可以说Persepolis Download Manager 则是一款封装好了的 aria2 客户端,只需要运行即可,非常简单。aria2 所有预编译文件均打包在安装包内,运行安装包安装后,运行 exe主 程序并允许通过防火墙即可。PDM 同样也是开源、免费且跨平台的,可以同时支持 Windows、macOS、Linux、BSDs 等系统。
Aria2GUI(网页版)
简单说一下Aria2GUI的配置方法
参考URL: https://www.jianshu.com/p/b58fff3fb946
参考该博文即可。
常用命令
-d, --dir=目录 用于存储已下载文件的目录。可能的取值: /path/to/directory默认: /home/ishare标签: #basic, #file-x, --max-connection-per-server=N 每个下载中对单个服务器的最大连接数。可能的取值: 1-16默认: 1标签: #basic, #http, #ftp
-s, --split=N 使用 N 个连接下载文件。如 N 小于需要下载的 URI 数量,到主机的连接数量受 --max-connection-per-server 选项限制。参见 --min-split-size 选项。标签: #basic, #http, #ftpbtrfs,xfs 或 NTFS(仅限 MinGW 环境构建),如果您的系统中 posix_fallocate() 函数不可用,标签: #basic, #file-k, --min-split-size=SIZE aria2 does not split less than 2*SIZE byte range.For example, let's consider downloading 20MiBfile. If SIZE is 10M, aria2 can split file into 2using 2 sources(if --split >= 2, of course).If SIZE is 15M, since 2*15M > 20MiB, aria2 doesnot split file and download it using 1 source.标签: #basic, #http, #ftp使用实例aria2c -s 5 -x 16 https://github.com/alibaba/otter/releases/download/otter-4.2.17/manager.deployer-4.2.17.tar.gz
参考
无限制下载神器aria2
参考URL: https://baijiahao.baidu.com/s?id=1595877979348356747&wfr=spider&for=pc