Axel 是 Linux 下一个不错的HTTP/FTP高速下载工具。支持多线程下载、断点续传,且可以从多个地址或者从一个地址的多个连接来下载同一个文件。适合网速不给力时多线程下载提高下载速度。比如在国内VPS或服务器上下载lnmp一键安装包用Axel就比wget快。options就是下面的那些

axel资源:​https://github.com/axel-download-accelerator/axel/tags​
wget https://github.com/axel-download-accelerator/axel/releases/download/v2.17.11/axel-2.17.11.tar.gz
./configure --prefix=/usr/local/axel && make && make install

Usage: axel [options] url1 [url2] [url...]

--max-speed=x		-s x	Specify maximum speed (bytes per second)
--num-connections=x	-n x	Specify maximum number of connections
--max-redirect=x		Specify maximum number of redirections
--output=f		-o f	Specify local output file
--search[=n]		-S[n]	Search for mirrors and download from n servers
--ipv4			-4	Use the IPv4 protocol
--ipv6			-6	Use the IPv6 protocol
--header=x		-H x	Add HTTP header string
--user-agent=x		-U x	Set user agent
--no-proxy		-N	Just don't use any proxy server
--insecure		-k	Don't verify the SSL certificate
--no-clobber		-c	Skip download if file already exists
--quiet			-q	Leave stdout alone
--verbose		-v	More status information
--alternate		-a	Alternate progress indicator
--help			-h	This information
--timeout=x		-T x	Set I/O and connection timeout
--version		-V	Version information

axel -o ~/下载/ http://ime.sogou.com/dl/sogou_pinyin_50q.exe
axel -o ~/下载/ <复制的链接>

 如从Diahosting下载lnmp安装包指定10个线程,存到/tmp/:

axel -n 10 -o /tmp/ http://soft.vpser.net/lnmp/lnmp0.7-full.tar.gz

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

Logo

更多推荐