Prozilla,Linux下的多线程下载工具,相当于Windows下的迅雷,可以支持断点续传。
下载地址
wget ftp://ftp.mgts.by/pub/FreeBSD/ports/distfiles/prozilla-2.0.4.tar.bz2
[root@server src]# mkdir /usr/local/prozilla
[root@server src]# tar -xjvf prozilla-2.0.4.tar.bz2
[root@server src]# cd prozilla-2.0.4
[root@server prozilla-2.0.4]# ./configure –prefix=/usr/local/prozilla/
[root@server prozilla-2.0.4]# make && make install
出现错误
download_win.h:55: error: extra qualification ‘DL_Window::’ on member ‘print_status’
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/usr/local/src/prozilla-2.0.4/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/prozilla-2.0.4′
make: *** [all] Error 2
重新编译安装
make clean
[root@server prozilla-2.0.4]# vi src/download_win.h
按照错误提示修改第55行
55 void DL_Window::print_status(download_t * download, int quiet_mode);
改为void print_status(download_t * download, int quiet_mode);
[root@server prozilla-2.0.4]# ./configure –prefix=/usr/local/prozilla/
[root@server prozilla-2.0.4]# make && make install
[root@server prozilla-2.0.4]# /usr/local/prozilla/bin/proz –help|less
两个常用参数
-r, –resume Resume an interrupted download
-k=n Use n connections instead of the default(4) #默认使用4线程
PATH=”$PATH”:/usr/local/ifstat/bin:/usr/local/nginx/sbin:/usr/local/mysql/bin:/usr/local/php5/sbin:/usr/local/php5/bin:/usr/local/prozilla/bin
/usr/local/prozilla/bin/proz -k 8 ftp://ftp.mgts.by/pub/FreeBSD/ports/distfiles/prozilla-2.0.4.tar.bz2
#指定使用8线程下载
下载界面:
Connection Server Status Received
1 ftp.mgts.by Remote Fatal 0.0K of 91.0K
2 ftp.mgts.by Logging in 0.0K of 91.0K
3 ftp.mgts.by Remote Fatal 0.0K of 91.0K
4 ftp.mgts.by Remote Fatal 0.0K of 91.0K
5 ftp.mgts.by Remote Fatal 0.0K of 91.0K
6 ftp.mgts.by Remote Fatal 0.0K of 91.0K
7 ftp.mgts.by Remote Fatal 0.0K of 91.0K
8 ftp.mgts.by Remote Fatal 0.0K of 91.0K
ftp://ftp.mgts.by/pub/FreeBSD/ports/distfiles/prozilla-2.0.4.tar.bz2
File Size = 727K
Total Bytes received 0 Kb (0.00%)
Current speed = 0.00Kb/s, Average D/L speed = 0.00Kb/s
/usr/local/prozilla/bin/proz -r ftp://ftp.mgts.by/pub/FreeBSD/ports/distfiles/prozilla-2.0.4.tar.bz2
#续传断点的下载
Previous download of prozilla-2.0.4.tar.bz2 exists, would you like to (R)esume it or (O)verwrite it?
Linux下多线程下载工具ProZilla
转载请注明出处:服务器评测 » Linux下多线程下载工具ProZilla
相关推荐
- 低价裸机专用服务器|20M 服务器设置|1GBPS 不限流量|99.9% 正常运行时间
- HC ★ AMD 专用服务器 ★ 1 Gbps – 100 Gbps 带宽
- *██ 双倍 RAM 回归 ██ AMD RYZEN 7 █ 128GB RAM █ 1TB NVMe █ IPMI █ /24 IPv4 ██ 24 美元起
- 黑色星期五特惠!Ryzen 5950x – 95 美元/月 | Ryzen 7950x – 125 美元/月 | Ryzen 9950x – 175 美元/月
- DEDICATED.COM::Xeon E3-1270v5/v6 | 64GB | 2 x 512GB SSD | IPMI | 100TB @ 1GBPS | 49.99 美元/月
- DEDICATED.COM::Xeon E3-1270v5/v6 | 64GB | 2 x 512GB SSD | IPMI | 100TB @ 1GBPS | 49.99 美元/月
- 双 AMD EPYC 7551、RAM 512 GB、4TB NVMe 239 美元/月 |网络动力有限责任公司
- *MechanicWeb:美国/欧盟/英国/亚太地区 – Ryzen 9950X 托管和非托管 – 特别折扣 | 10 Gbps