Axel – The Linux Download Acccelerator

      No Comments on Axel – The Linux Download Acccelerator
axel download accelerator

Introduction

 

Do you feel like wget is not meeting your needs in terms of download speeds and reliability?

We introduce to you Axel “Accelerator”, a lightweight wget clone that does exactly what its name says.

Axel accelerates HTTP and FTP downloads by using multiple connection to retrieve files from the destination.

Axel supports automatic aborting and resuming connections that are unresponsive or not returning any data after a given period of time.

Axel puts all the data in a single file at download time, as opposed to writing data to separate files and joining them at a later stage which makes downloads even faster compared to other download accelerators.

 

Installation

On centos/Redhat;

On Ubuntu;

Axel is now ready to be used as it is without further modifications.

You may wish to customise axel to meet your needs like increasing or reducing the maximum download speed, reconnect delay e.t.c. This can be done in /etc/axelrc

Customising Axel

Open the file /etc/axelrc

Some of the options you can configure are;

max_speed : The maximum bandwidth axel is allowed to use in bytes per second

num_connections: The maximum number os connections that axel will attempt to start. In some cases this may not work since some servers do not allow multiple connections.

connection_timeout: The number of seconds axel will wait before attempting to abort and resuming automatically.

These are just but a few of the most common used ones. There are other options that can be configured both in the config file and via command line when using the command.

 

Using axel

We’ll will now use vagrant to download a file from the internet. To view a list of available options when using axel on the command line, run the command axel –help

We’ll run the command below to download a centos ISO using 16 connections,

The option -n specifies the maximum number of connections we wish to use.

You’ll notice that this takes a lot faster than using wget.

The following two tabs change content below.

harun

Harun is a System Administrator with proficient knowledge in cloud technologies such as KVM, Cloudstack, Citrix Xen Server, Openstack and VMware Vsphere Suite, Ceph, NFS, ISCSI

Latest posts by harun (see all)

About harun

Harun is a System Administrator with proficient knowledge in cloud technologies such as KVM, Cloudstack, Citrix Xen Server, Openstack and VMware Vsphere Suite, Ceph, NFS, ISCSI

Leave a Reply

Your email address will not be published. Required fields are marked *