好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁(yè) > 知識(shí)庫(kù) > Linux下多線程下載工具M(jìn)Wget和Axel使用介紹

Linux下多線程下載工具M(jìn)Wget和Axel使用介紹

熱門標(biāo)簽:軟件電話機(jī)器人 襄陽(yáng)地圖標(biāo)注店 杭州電銷機(jī)器人有效果嗎 金華呼叫中心外呼系統(tǒng)廠家 高德地圖標(biāo)注在電腦上 申請(qǐng)400電話流程好嗎 柯城手機(jī)地圖如何做地圖標(biāo)注 小語(yǔ)股票電銷機(jī)器人 萊蕪移動(dòng)外呼系統(tǒng)

linux運(yùn)維在操作linux過(guò)程中,用得最多的linux下載工具想必一定是wget,沒(méi)有看到哪一臺(tái)服務(wù)器沒(méi)裝過(guò)wget的,或許有人使用ftp下載,也有人使用多線程的axel以及ProZilla,毫無(wú)疑問(wèn)這兩個(gè)工具都非常的出色,但是對(duì)于習(xí)慣使用wget的人來(lái)說(shuō)顯得不適應(yīng),于是老外便開(kāi)發(fā)了多線程版本的wget工具mwget,m表示multi多線程的意思.
mwget
官方地址:http://sourceforge.net/projects/kmphpfm/?source=dlp

復(fù)制代碼
代碼如下:

# cd /usr/local/src/
# wget http://jaist.dl.sourceforge.net/project/kmphpfm/mwget/0.1/mwget_0.1.0.orig.tar.bz2
# tar -xjvf mwget_0.1.0.orig.tar.bz2
# cd mwget_0.1.0.orig
# ./configure
# make
# make install

configure過(guò)程中如果出現(xiàn)如下錯(cuò)誤,請(qǐng)安裝大于等于0.35版本的intltool

復(fù)制代碼
代碼如下:

checking for intltool >= 0.35.0... ./configure: line 6824: intltool-update: command not found
found
configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
# yum install intltool

wget vs mwget速度測(cè)試
以下使用下載2.4.5版本的mongodb來(lái)取樣.
mwget速度測(cè)試

復(fù)制代碼
代碼如下:

# mwget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.5.tgz
Begin to download: mongodb-linux-x86_64-2.4.5.tgz
FileSize: 90M
36% [====> =====> ===> ====> ] [ 33M] [2.0M/s] [ETA:00:28]

mwget速度截圖如下:

 wget速度測(cè)試

復(fù)制代碼
代碼如下:

# wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.5.tgz
--2013-08-16 10:55:23-- http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.5.tgz
Resolving fastdl.mongodb.org... 54.230.114.206, 54.230.113.36, 54.230.114.144, ...
Connecting to fastdl.mongodb.org|54.230.114.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 94827295 (90M) [application/x-tar]
Saving to: “mongodb-linux-x86_64-2.4.5.tgz.1”

6% [==> ] 6,470,547 210K/s eta 6m 26s

wget速度截圖如下

mwget用法:

復(fù)制代碼
代碼如下:

# mwget -h
GNU MWget 0.1.0 ,a non-interactive and multiline network retriever of all POSTIX Systems.
Usage: mwget [Options]... [URL]...
Options:
-b, --debug Show the debug message
-c, --count=num Set the retry count to [num], no limit when "0", the default is "99"
-d, --directory=dir Set the local direcotry to [dir], the default is "."
-f, --file=file Rename the file to [file]
-h, --help A brief summary of all the options
-i, --interval=num Set the ftp retry interval to [num] seconds, the default is "5"
-n, --number=num Use [num] connections instead of the default (4)
-r, --referer=URL Include `Referer: [URL]' header in HTTP request.
-t, --timeout=num Set the connection timeout to [num] seconds, the default is "30"
-v, --version Show the version of the mwget and exit
-x, --proxy=URL Set the proxy [URL]

Mail bug reports and suggestions to sa@kmlinux.tk>xiao_suo@hotmail.com>
On website bug reports and suggestions to http://mwget.sourceforge.net/> http://www.kmlinux.tk/>
We Welcome your BUG REPORT!

Axel
運(yùn)維工作中,常常需要下載文件,因?yàn)榫W(wǎng)站下載速度限制或者網(wǎng)絡(luò)等原因?qū)е孪螺d讓人無(wú)法忍受,前面有介紹多線程wget工具mwget,提速不少,而且使用很簡(jiǎn)單。axel使用的人更多,不僅僅安裝方法簡(jiǎn)單,命令更簡(jiǎn)單。往下看。
安裝Axel
RPM安裝Axel(方法一)
下載地址:http://pkgs.repoforge.org/axel/
如圖,選擇適合你服務(wù)器的RPM


復(fù)制代碼
代碼如下:

root@ttlsa # wget http://pkgs.repoforge.org/axel/axel-2.4-1.el6.rf.x86_64.rpm
root@ttlsa # rpm -ivh axel-2.4-1.el6.rf.x86_64.rpm
Preparing... ########################################### [100%]
1:axel ########################################### [100%]

yum安裝Axel(方法二)

復(fù)制代碼
代碼如下:

root@ttlsa # yum install axel

 apt-get安裝Axel
如果你是Ubuntu系統(tǒng)

復(fù)制代碼
代碼如下:

root@ttlsa # axel -h
Usage: axel [options] url1 [url2] [url...]

--max-speed=x           -s x    最大速度 (字節(jié)/秒)
--num-connections=x     -n x    最大連接數(shù)
--output=f              -o f    指定文件名
--search[=x]            -S [x]  Search for mirrors and download from x servers
--header=x              -H x    添加header
--user-agent=x          -U x    設(shè)置用戶代理
--no-proxy              -N      不使用任何代理
--quiet                 -q      Leave stdout alone
--verbose               -v      顯示更多狀態(tài)信息
--alternate             -a      顯示簡(jiǎn)單進(jìn)度條
--help                  -h      幫助
--version               -V      版本信息
 axel使用實(shí)例
下載centos

復(fù)制代碼
代碼如下:

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]

 下載運(yùn)維生存時(shí)間某圖片

復(fù)制代碼
代碼如下:

root@ttlsa # axel http://www.ttlsa.com/wp-content/uploads/2014/04/a title="zabbix"target="_blank">zabbix/a>-adduser-01.jpg
Initializing download: http://www.ttlsa.com/wp-content/uploads/2014/04/zabbix-adduser-01.jpg
File size: 73009 bytes
Opening output file zabbix-adduser-01.jpg
Starting download/p> p>root@ttlsa # axel http://www.ttlsa.com/wp-content/uploads/2014/04/zabbix-adduser-01.jpg
Initializing download: http://www.ttlsa.com/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)

 簡(jiǎn)單進(jìn)度條
默認(rèn)情況下,整個(gè)屏幕都是進(jìn)度條,加上-a參數(shù),進(jìn)度條類似wget。

復(fù)制代碼
代碼如下:

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/p> p>[ 1%] [0 1 2 3 ] [ 3.2MB/s] [21:47]

 下載限速
ttlsa的網(wǎng)站帶寬有限制,我要保證下載的同時(shí)又不影響用戶的訪問(wèn),例如限制為1MB/s的下載速度,如下可以看到速度基本保證在1MB以內(nèi)。

復(fù)制代碼
代碼如下:

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, 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]

最后
完成,方法很簡(jiǎn)單,功能很簡(jiǎn)單。運(yùn)維生存時(shí)間的服務(wù)器以及安裝了axel,你的安裝了嗎?

標(biāo)簽:優(yōu)質(zhì)穩(wěn)定 九江 哈密 海東 玉樹(shù) 臺(tái)州 昌都 孝感

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Linux下多線程下載工具M(jìn)Wget和Axel使用介紹》,本文關(guān)鍵詞  Linux,下多,線程,下載工具,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《Linux下多線程下載工具M(jìn)Wget和Axel使用介紹》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于Linux下多線程下載工具M(jìn)Wget和Axel使用介紹的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 无码h肉动漫在线观看| 被男狂揉吃奶胸60分钟| 定远县| 亚洲日韩在线中文字幕综合| 婬妇KKKK4444免费| 欧美老妇性猛交| 69欧美xxxxx色护士视频| 麻豆19禁国产青草精品| 伊人啪啪网| 蜜乳av国精产品一二三产区| 浪荡人妻共32部黑人大| 丰盈的雪乳被揉捏成各种形状 | 亚洲人成影视在线观看| 业余偷窥视频| 欧美精产国品一二三产品测评区别| 9.1人网站??| 三级聊斋| 日本人玩XBOX| 鲁一鲁色一色| 咕咚影院免费观看视频| china外卖员gay帮口| 欧美性做爰又大又粗又长| 福利一区二区三区在线观看 | 成人黄色三级视频| 特级理论片| 欧美自拍偷拍视频| 日本美国群交P片内射捆绑| 日韩欧美动作影片| 精品久久久久免费极品大片| 国产AV视频在线观看| 欧美大尺度xxxxx视频| 狠狠色噜噜狠狠狠狠米奇7777| 刮伦真实在线观看| japanesexxxx日本中文字幕| 龚玥菲版新梅瓶国语在线观看| 精品蜜桃秘?一区二区三区| 97国产大学生情侣11在线视频 | 东北老熟女高潮45分钟视频| 成人综合国产成人亚洲| 女人与黑人做爰XXx| tba泰国精品337p人体写真|