Background: Sometimes when downloading files, depending on the network using wget command to download will be very slow, here recommend a multi-threaded download axel, you can increase download speed
installation:
axel is a multi-threaded download tool for linux, installation is as follows:
yum install axel
You can use the following method installed after
-n -o axel 10 saved.data URL
10 representatives of 10 which is threaded download, save.data is to be saved to a local file name, URL is the address of the remote data server.
If yum install axel does not work properly, you can try the following methods to manually install:
wget 'http://www.ha97.com/code/axel-2.4.tar.gz'
takes -xf axis-2.4.tar.gz
CD axel-2.4
yum -y install gcc
./configure
make && make install
The default installation path / usr / local / bin / axel, plus one of the following link:
ln -s /usr/local/bin/axel /usr/bin/axel
use:
axel -a -n 10 -s url
Parameters are as follows:
general use: axel url (download file address);
speed using: -s 10240, i.e., the number of bytes per second to download, this is 10 Kb;
Limit connections: -n 10, i.e., the number of threads 10 is opened