[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] storm README
From: |
Tuukka Hastrup |
Subject: |
[Gzz-commits] storm README |
Date: |
Fri, 02 May 2003 12:21:53 -0400 |
CVSROOT: /cvsroot/storm
Module name: storm
Changes by: Tuukka Hastrup <address@hidden> 03/05/02 12:21:52
Modified files:
. : README
Log message:
example of setting up P2P
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/storm/storm/README.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: storm/README
diff -u storm/README:1.1 storm/README:1.2
--- storm/README:1.1 Fri Apr 25 11:24:00 2003
+++ storm/README Fri May 2 12:21:52 2003
@@ -24,7 +24,24 @@
Example of importing files into Storm, storing them on local disk directory:
+mkdir ../test-pool
make import POOL=../test-pool CT=text/plain FILES=../files/*.txt
+ls ../test-pool
Example of starting the gateway for http clients:
make http-gateway POOL=../test-pool
+
+
+Example of setting up P2P:
+start the peer that publishes:
address@hidden:~/ff/storm$ make peer ARGS="-pub pool -port 2000"
+
+start a local peer that can fetch the blocks:
address@hidden:~/ff/storm$ make peer ARGS="-gw 5000 -port 2001 localhost:2000"
+
+or, start a remote peer that can fetch the blocks:
address@hidden:~/ff/storm$ make peer ARGS="-gw 5000 -port 2000
fishy.it.jyu.fi:2000"
+
+Notice, that the peer gateways can only list blocks that have already been
+retrieved through them. So take the block id from http-gateway, or
+from filenames in ../test-pool.
- [Gzz-commits] storm README,
Tuukka Hastrup <=
- [Gzz-commits] storm README, Benja Fallenstein, 2003/05/04
- [Gzz-commits] storm README, Hermanni Hyytiälä, 2003/05/05
- [Gzz-commits] storm README, Tuukka Hastrup, 2003/05/06
- [Gzz-commits] storm README, Benja Fallenstein, 2003/05/09
- [Gzz-commits] storm README, Tuukka Hastrup, 2003/05/13