User Tools

Site Tools


E-rauchen tut nicht nicht geruchlos sein. Das kannst du hier nachlesen e Zigarette . Elektro Zigaretten sollen nicht schädlich sein. Deshalb kannst du es ja mal versuchen.


The paraFetch source code can be found here, while the binary can be found here.

mkdir ~/parafetch
cd ~/parafetch

paraFetch fetches files behind an HTTP server, hence we use nginx since it is relatively easy to install without root.

mkdir ~/nginx
cd ~/nginx
tar zxvf nginx-1.0.0.tar.gz
cd nginx-1.0.0/
./configure --prefix=$HOME/nginx --without-http_rewrite_module --without-http-cache
make install

Edit ~/nginx/conf/nginx.conf to use port 8080.

In order to use more than 50 streams you must edit the paraFetch source and recompile. To do this for x86_64, with 600 streams:

1. Download the kent source

git clone git:// 

2. Edit lines 1804-1808 in “kent/src/lib/net.c”:

if (numConnections > PARCONN)/* ignore high values for numConnections */
    warn("Currently maximum number of connections is %d. You requested %d. Will proceed with %d on %s",PARCONN, numConnections, PARCONN, url);
    numConnections = PARCONN;

3. Add a #define at the top of “kent/src/lib/net.c”:

#define PARCONN 600   /*This is the maximum no. of parallel streams supported*/

4. Compile the common libraries for x86_64 (jkweb.a):

cd kent/src/lib/
make x86_64/jkweb.a

5. Compile paraFetch:

cd kent/src/utils/paraFetch/

6. Copy from your bin:

cp ~/bin/x86_64/paraFetch ~/
parafetch.txt · Last modified: 2012/01/09 16:44 by wikihelp007