小樱 发表于 2016/4/26 14:06

linux SSH命令行下比wget和aria2更加好用更加强大的多线程下载工具axel v2.4安装使用教程 推荐

代码库:http://pkgs.repoforge.org/axel/

官网:http://axel.alioth.debian.org/


CentOS安装Axel:

32位:
rpm -ivh http://pkgs.repoforge.org/axel/axel-2.4-1.el6.rf.i686.rpm
备用
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/repoforge/redhat/el6/en/i386//rpmforge/RPMS/axel-2.4-1.el6.rf.i686.rpm

64位:
rpm -ivh http://pkgs.repoforge.org/axel/axel-2.4-1.el6.rf.x86_64.rpm
备用,repoforge宣布死亡 https://wiki.centos.org/zh/AdditionalResources/Repositories/RPMForge
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/axel-2.4-1.el6.rf.x86_64.rpm


下载使用方法:
-n   指定线程数
-a   友好的进度条

axel -n 32 -a http://dldir1.qq.com/qqfile/qq/QQ8.2/17724/QQ8.2.exe

如果下载过程中下载中断可以再执行下载命令即可恢复上次的下载进度。


文档:

Usage: axel url1

--max-speed=x                -s x        Specify maximum speed (bytes per second)
--num-connections=x        -n x        Specify maximum number of connections
--output=f                -o f        Specify local output file
--search[=x]                -S         Search for mirrors and download from x servers
--header=x                -H x        Add header string
--user-agent=x                -U x        Set user agent
--no-proxy                -N        Just don't use any proxy server
--quiet                        -q        Leave stdout alone
--verbose                -v        More status information
--alternate                -a        Alternate progress indicator
--help                        -h        This information
--version                -V        Version information

限速单位-s 500000
单位字节Byte
例如500000就是限制500K/S

xlaptx 发表于 2016/4/26 18:12

Aria2比较好0.0

小樱 发表于 2016/4/26 18:34

xlaptx 发表于 2016/4/26 18:12
Aria2比较好0.0

Aria2问题太多,多线程也启用不起来。

小樱 发表于 2016/4/26 19:19

xlaptx 发表于 2016/4/26 18:12
Aria2比较好0.0




axel 就没问题。

xlaptx 发表于 2016/4/26 21:41

{:3328:}
页: [1]
查看完整版本: linux SSH命令行下比wget和aria2更加好用更加强大的多线程下载工具axel v2.4安装使用教程 推荐