Axel Installation
Debian/ubuntu/linux Mint Users
The code is as follows |
Copy Code |
sudo apt-get install Axel |
Redhat/fedora users can install the following command:
The code is as follows |
Copy Code |
Yum Install Axel |
Similarly, you can compile the source code installation:
The code is as follows |
Copy Code |
CD ~/download wget Http://alioth.debian.org/frs/download.php/3015/axel-2.4.tar.gz Tar zxvf axel-2.4.tar.gz && cd axel-2.4./configure && make sudo make install |
Use introduction
You can use the order first.
Mans Axel
Or
Axel--help
To see how Axel is used.
The basic usage is as follows:
Axel [Options] [download directory] [download address]
-S [x]: Specifies the maximum number of bits to download per second.
n [x]: Specifies the number of simultaneous threads to open.
-o f: Specifies the local output file.
-S [x]: Search the mirror and download from the X servers server.
-N: Do not use a proxy server.
-V: Print more status information.
-A: Print progress information.
-H: This version commands help.
-V: View version information number.
Axel Instance:
2. Axel Use detailed
The code is as follows |
Copy Code |
Root@ttlsa # Axel-h Usage:axel [Options] url1 [url2] [url ...]
--max-speed=x-s x Maximum speed (Bytes/sec) --num-connections=x-n x Maximum number of connections --output=f-o F Specify filename --SEARCH[=X]-s [x] search for mirrors and download from x servers --header=x-h x Add header --user-agent=x-u x Set User agent --no-proxy-n does not use any proxies --quiet-q Leave stdout alone --verbose-v Show more status information --alternate-a Show Simple progress bar --help-h Help --version-v Version Information |
3. Axel Use examples
3.1 Download CentOS
The code is as follows |
Copy Code |
Root@ttlsa # Axel Http://mirrors.btte.net/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-bin-DVD1.iso [1%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [4654.5KB/S] [1%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [4657.1KB/S] [1%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [4656.5KB/S] [1%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [4659.3KB/S] |
3.2 Under the carrier dimension survival time a picture
The code is as follows |
Copy Code |
Root@ttlsa # Axel Http://www.111cn.net/wp-content/uploads/2014/04/zabbix-adduser-01.jpg Initializing download:http://www.111cn.net/wp-content/uploads/2014/04/zabbix-adduser-01.jpg File size:73009 bytes Opening Output File Zabbix-adduser-01.jpg Starting download
[0%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [598.0KB/S] [70%] ............. Connection 0 Finished
Downloaded 71.3 kilobytes in 0 seconds. (710.02 kb/s) |
3.3 Simple progress bar
By default, the entire screen is a progress bar, plus the-a parameter, the progress bar is similar to wget.
code is as follows |
copy code |
root@ttlsa" Axel-a http://mirrors.btte.net/centos/6.5/isos/x86_64/ Centos-6.5-x86_64-bin-dvd1.iso Initializing download:http://mirrors.btte.net/centos/6.5/isos/x86_64/ Centos-6.5-x86_64-bin-dvd1.iso File size:4467982336 bytes Opening output File Centos-6.5-x86_64-bin-dvd1.iso Starting download [ 1%] [0 1 2 3 ] [ 3.2mb/s] [ 21:47] |
3.4 Download speed limit
We TTLSA Web site bandwidth restrictions, I want to ensure that the download at the same time does not affect the user's access, such as limited to 1mb/s download speed, the following can be seen speed of the basic guarantee within 1MB.
The code is as follows |
Copy Code |
Root@ttlsa # axel-s 1024000 http://mirrors.btte.net/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-bin-DVD1.iso Initializing Download:http://mirrors.btte.net/centos/6.5/isos/x86_64/centos-6.5-x86_64-bin-dvd1.iso File size:4467982336 bytes Opening Output File Centos-6.5-x86_64-bin-dvd1.iso State file found:30522952 bytes downloaded and 4437459384 to go. Starting download
,,,,,,,... .......... .......... .......... .......... [394.8KB/S] [0%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [689.2KB/S] [0%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [879.5KB/S] [0%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [974.5KB/S] [0%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [1086.4KB/S] [0%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [967.5KB/S] [0%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [943.8KB/S] [0%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [1021.0KB/S] [0%] ..... ....... ...... ...... ...... ..... ....... ..... ..... ... [1066.1KB/S] |
After the original part from: ttlsa.com Web site