axel下载神器的安装使用

wget http://www.ha97.com/code/axel-2.4.tar.gz
tar zxvf axel-2.4.tar.gz
cd axel-2.4
./configure
make
make install
cd /etc/yum/pluginconf.d/
wget http://www.ha97.com/code/axelget.conf

插件下载

cd /usr/lib/yum-plugins/
wget http://www.ha97.com/code/axelget.py

插件下载

vim /usr/lib/yum-plugins/axelget.py

将默认10改成32线程(可以试试改成更高)

参数说明

--max-speed=x		-s x	Specify maximum speed (bytes per second)
--num-connections=x	-n x	Specify maximum number of connections
--max-redirect=x		Specify maximum number of redirections
--output=f		-o f	Specify local output file
--search[=n]		-S[n]	Search for mirrors and download from n servers
--ipv4			-4	Use the IPv4 protocol
--ipv6			-6	Use the IPv6 protocol
--header=x		-H x	Add HTTP header string
--user-agent=x		-U x	Set user agent
--no-proxy		-N	Just don't use any proxy server
--insecure		-k	Don't verify the SSL certificate
--no-clobber		-c	Skip download if file already exists
--quiet			-q	Leave stdout alone
--verbose		-v	More status information
--alternate		-a	Alternate progress indicator
--help			-h	This information
--timeout=x		-T x	Set I/O and connection timeout
--version		-V	Version information
 

最终效果测试
axel下载神器的安装使用_第1张图片

你可能感兴趣的:(axel下载神器的安装使用)