linux poison RSS
linux poison Email

Accelerate HTTP/FTP Downloading Process using Axel under Linux

Axel does the same thing any other download accelerator does: it opens more than one HTTP/FTP connection per download and each connection transfers its own, separate, part of the file. It may sound weird, but it works very well in practice. For example, some FTP sites limit the speed of each connection, therefore opening more than one connection at a time multiplies the allowable bandwidth. Be forewarned that some FTP operators don't like it when you do this. It is better to open the additional connections on several servers and download from all of them simultaneously. Axel supports this. You may either specify a list of mirrors to use or tell the program to search for mirrors.

The difference between Axel and other (mostly Windows-based) accelerators is that it does not write data to separate files and join them later. Axel puts all the data in the right file, in the right order, at download time. This is possible, because most Unix file systems allow you to write data after the end-of-file. Axel is console-based and uses few system resources.

Axel Installation:
Open the terminal and type following command:
sudo apt-get install axel
Using Axel:
Below example showing the download of CentOS ISO from 3 different mirrors at same time using command:
axel http://{linux.mirrors.es.net,centos.mirror.freedomvoice.com,mirrors.kernel.org}/centos/6.2/isos/i386/CentOS-6.2-i386-LiveCD.iso

There are many more options that you can use with Axel like specifying the Max download speed (--max-speed=x) or Max number of connections (--num-connections=x), look the Axel man pages for more details or type command axel --help.




2 comments:

Post a Comment

Related Posts with Thumbnails