CentOS安裝Axel: 多線程
目前yum源上沒有Axel,咱們能夠到http://pkgs.repoforge.org/axel/下載rpm包安裝。 ssh
32位CentOS執行下面命令: wget -c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.i386.rpm
rpm -ivh axel-2.4-1.el5.rf.i386.rpm .net
wget -c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.x86_64.rpm
rpm -ivh axel-2.4-1.el5.rf.x86_64.rpm 線程
Axel命令使用方法: vps
axel 參數 文件下載地址 進程
可選參數: 資源
-n 指定線程數
-o 指定另存爲目錄
-s 指定每秒的最大比特數
-q 靜默模式 lnmp
以下載lnmp安裝包指定9個線程,存到/tmp/:axel -n 9 http://soft.vpser.net/lnmp/lnmp0.9-full.tar.gz get
axel多線程下載百度網盤資源方法:
axel -n 進程數 "實際下載地址" (實際下載地址獲取方法,在下載按鈕上右鍵複製連接地址便是) 百度
axel多線程下載百度網盤資源實例,ssh中執行: axel -n 9 "http://www.baidupcs.com/file/2012%20Dream%20Concert%28%E4%B8%8B%29%20120530%20HDTV%20x264%20720p-Ernie.mp4?fid=2449707571-250528-2904948419&time=1346296347&sign=FPDTAE-DCb740ccc5511e5e8fedcff06b081203-PfXc%2BIBHUsorsQR7RLszHLzrljs%3D&expires=1h&digest=b8ee669f1ce5c1df9383eaa69b67daea"