使用Wget下载,有时候速度挺慢的。

有没有好办法呢?

一、解决方案

安装axel

安装方法:

yum -y install epel-release

yum install axel-2.4-.el7.x86_64.rpm rpm -ivh axel-2.4-.el7.x86_64.rpm
[root@Master]# axel
Usage: axel [options] url1 [url2] [url...] --max-speed=x -s x Specify maximum speed (bytes per second)
--num-connections=x -n x Specify maximum number of connections
--output=f -o f Specify local output file
--search[=x] -S [x] Search for mirrors and download from x servers
--header=x -H x Add header string
--user-agent=x -U x Set user agent
--no-proxy -N Just don't use any proxy server
--quiet -q Leave stdout alone
--verbose -v More status information
--alternate -a Alternate progress indicator
--help -h This information
--version -V Version information
axel -n  http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.2.0/ambari-2.2.2.0-centos7.tar.gz

二、其它安装

也可以安装yum-axelget插件,默认 yum使用单线程下载,安装该插件后,会使用多线程下载。

yum -y install yum-axelget

最新文章

  1. tcpdump、nc网络工具使用
  2. 自动提交Git branch代码评审到Review Board系统
  3. 转:python list排序的两种方法及实例讲解
  4. ANDROID_MARS学习笔记_S01原始版_008_Handler(异步消息处理机制)
  5. 代码审查工具之PMD操作指南
  6. [LeetCode]题解(python):006-ZigZag Conversion
  7. poj2777--Count Color(线段树,二进制转化)
  8. Samples for Parallel Programming with the .NET Framework
  9. Java中食之无味弃之可惜的数组
  10. 2017 ACM/ICPC(北京)总结
  11. JavaWeb & Tomcat
  12. postgres密码修改
  13. C# 获取文件名及扩展名【转】
  14. FTP上传、下载(简单小例子)
  15. python 怎么让list里面设置NAN numpy.nan
  16. java.lang.Exception: DEBUG STACK TRACE for PoolBackedDataSource.close().
  17. loopback v4 特性
  18. redis之RDB持久化与AOF持久化
  19. 未知高度的图片在div设置垂直居中
  20. HDU_3193_Find the hotel

热门文章

  1. Git:常用命令(二)
  2. Java 8新的时间日期库的20个使用示例
  3. 每天一个linux命令-ls命令
  4. Effective Java - Item 1: Consider static factory methods instead of constructors
  5. 利用js实现 禁用浏览器后退 浏览器返回
  6. C# Encoding UTF-16 ,C#中的UTF16
  7. ArcEngine C++ 10 程序的运行环境,ArcEngine RT的授权
  8. Windows server 2008 r2 如何开启Win7的Aero效果 (转)
  9. [leetcode]Reverse Linked List II @ Python
  10. google map放大缩小地图去除 ctrl+,直接用鼠标放大缩小