Prozilla software is one of my favorite download accelerator in Ubuntu Linux, in addition to having a graphical display mode (ProzGUI) prozilla also has a version that works in text mode "console" linux ... this is more fast and can run in background on the remote machine to your Linux .
FEATURES:
- Supports FTP & HTTP
- Supports Resume Download
- Multiple connections and configuration of connections
- Support for FTP search and choose the fastest server automatically
- Used restricted maximum bandwidth (bps / bytes per second)
INSTALLATION
Installing from the debian packages are already available
download prozilla_1.3.7.4-1_i386.deb from http://old-releases.ubuntu.com/ubuntu/pool/universe/p/prozilla/
$wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/p/prozilla/prozilla_1.3.7.4-1_i386.deb
$sudo dpkg -i prozilla_1.3.7.4-1_i386.deb
edit configuration on /etc/prozilla.conf :
$sudo nano /etc/prozilla.conf
specify the download directory, usually located on the bottom row:
mainoutputdir = /home/koti/film
and save...
Installing from source code
In this way we can do the installation Prozilla source code from the new version.
install the required libraries for the configuration process:
download ncurses : ftp://ftp.gnu.org/pub/gnu/ncurses/
$wget -c ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz
extract the downloaded:
$tar -xzvf ncurses-5.7.tar.gzmove to extract directory
$cd ncurses-5.7 $./configure $make #sudo make install $cd ..
install gettext
$sudo apt-get install gettextdownload prozilla : http://prozilla.genesys.ro/downloads/prozilla/tarballs/
$wget -c http://prozilla.genesys.ro/downloads/prozilla/tarballs/prozilla-2.0.4.tar.bz2
extract prozilla :
$tar -xf prozilla-2.0.4.tar.bz2 $cd prozilla-2.0.4 $./configure $make
if error :
make[4]: Leaving directory `/home/koti/prozilla-2.0.4/libprozilla/src’ make[4]: Entering directory `/home/koti/prozilla-2.0.4/libprozilla’ make[4]: Nothing to be done for `all-am’. make[4]: Leaving directory `/home/koti/prozilla-2.0.4/libprozilla’ make[3]: Leaving directory `/home/koti/prozilla-2.0.4/libprozilla’ make[2]: Leaving directory `/home/koti/prozilla-2.0.4/libprozilla’ Making all in src make[2]: Entering directory `/home/koti/prozilla-2.0.4/src’ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../libprozilla/src -I../intl -I/usr/local/include -fno-inline -DLOCALEDIR=\”/usr/local/share/locale\” -Wall -ggdb -D_REENTRANT -MT main.o -MD -MP -MF “.deps/main.Tpo” \ -c -o main.o `test -f ‘main.cpp’ || echo ‘./’`main.cpp; \ then mv -f “.deps/main.Tpo” “.deps/main.Po”; \ else rm -f “.deps/main.Tpo”; exit 1; \ fi In file included from main.cpp:39: download_win.h:55: error: extra qualification ‘DL_Window::’ on member âprint_status’ make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/home/koti/prozilla-2.0.4/src’ make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/koti/prozilla-2.0.4′ make: *** [all] Error 2
solution :
Looks like the problem of error occurs because the compatibility of the compiler the GNU C / C + + latest version, to avoid this error edit the file src / download_win.h at line number 55:
void DL_Window::print_status(download_t * download, int quiet_mode);
replace with :
void print_status(download_t * download, int quiet_mode);
source : http://www.linuxquestions.org/questions/linux-software-2/error-while-running-make-649543/
$sudo make install
okey finish
DOWNLOAD COMMAND
The main options:
-R: command to enable resuming downloads if the connection is lost.
-K = 10: 10 connections to download.
-Max-bps, = 20 000: limit the maximum bandwidth consumption of 20 KB / s
Example download command:
$proz -r http://www10.indowebster.com/11b81118c6d71d2b8d14425928ea99ad.avi $proz -r -k=10 –max-bps=20000 http://www12.indowebster.com/fc3b63a01e75e2acb33e9da4995731dd.avi
example run a command download on backgound:
$nohup proz -r -k=10 http://www27.indowebster.com/39929485ec9145b683d82fdfed39f51f.avi
or
$screen proz -r -k=10 http://www27.indowebster.com/39929485ec9145b683d82fdfed39f51f.avi
press "Ctrl + A, D" to hide in the background, and type "screen-r" then Enter to monitor the download process.
AUTOMATION DOWNLOAD
By using bash script we can automate downloads from an input list of urls that we will download.
create a file with the name proses.txt
$nano proses.txt
fill with download url link, a url a row.
save the file..
create an empty file with a name finish.txt
$nano finish.txt
create bash script file download.sh
$nano download.sh
copy and paste the example script below:
####################################################### #!/bin/bash kb=0 #batas bandwith maksimal dalam KB/s, utk 0 berarti tidak di limit in=proses.txt while [ `wc -l $in | cut -d " " -f 1` != 0 ]; do read line < $in if [ $kb = 0 ]; then proz -r $line; else bps=`expr ‘(’ $kb ‘)’ ‘*’ 1000`; proz -r –max-bps=$bps $line; fi echo $line >> finish.txt sed -i ‘1 d’ $in; #menghapus baris dari file masukan (proses.txt) done #######################################################to run the command:
$screen sh download.sh
press "Ctrl + A, D" to hide in the background.
for monitoring the download process:
$screen -r
sorce:http://koti.web.id/2009/04/05/installasi-prozilla-linux-download-accelerator-di-ubuntu-810-intrepid-ibex-server/
terima kasih banyak bro... kan kusimpan halaman ini...
ReplyDelete