Multi-threaded Download tool under Linux: Axel

Source: Internet
Author: User
Tags zookeeper

Wget should be the most commonly used download tool, but it does not support multi-threaded downloads.


Axel Installation

The Epel source has a Axel binary package that can be installed using Yum.

yum install epel-releaseyum install axel



Axel How to use

Syntax :axel [OPTIONS] url1 [url2,url3,...]

OPTIONS:

--max-speed=x, -s x : 设定最大下载速度.--num-connections=x, -n x : 设定并发下载数--output=x, -o x : 设定下载文件存储目录--header=x, -H x : 添加 http 头部--user-agent=x, -U x : 设定访问客户端--search[=x], -S[x] :  在 filesearching.com 上搜索所下载文件的镜像地址,并对这些镜像进行测速,选择最快的镜像地址进行下载. 这个选项的存在会占用一定的时间.


Example

For example, I'm going to open 10 threads to download Zookeeper's package to/USR/SRC:

axel -n 10 -o /usr/src  http://apache.claz.org/zookeeper/stable/zookeeper-3.4.10.tar.gz

Multi-threaded Download tool under Linux: Axel

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.