From: Brian Warner Date: Wed, 2 Jan 2008 04:50:46 +0000 (-0700) Subject: running.html: fix usage of 'tahoe create-client' and 'tahoe start', explain ~/.tahoe... X-Git-Tag: allmydata-tahoe-0.7.0~50 X-Git-Url: https://git.rkrishnan.org/pf/content/en//%22%22?a=commitdiff_plain;h=7ef1b7606f6a5e2abc9492b8fdac1536ba41a763;p=tahoe-lafs%2Ftahoe-lafs.git running.html: fix usage of 'tahoe create-client' and 'tahoe start', explain ~/.tahoe, add closing tags --- diff --git a/docs/running.html b/docs/running.html index c55ecd56..bcbfb6d9 100644 --- a/docs/running.html +++ b/docs/running.html @@ -11,15 +11,51 @@

How To Run Tahoe

-

This is how to run a Tahoe node or a complete Tahoe grid. First you have to install the Tahoe source code, as documented in install.html.

- -

The tahoe executable is used to create, start, and stop nodes. Each node lives in a separate base directory, inside of which you can add files to configure the node. Nodes also read and write files within that directory.

- -

A grid consists of a single Introducer and one or more nodes. If you are creating a new grid, you'll need to create both an Introducer and a node (and then invite other people to create their own nodes and join your grid). If you are joining an existing grid (such as the public test grid), the Introducer will already be running, and you'll need to create a node.

- -

To construct an introducer, create a new empty base directory for it (the name of the directory is up to you) and cd into that directory. Now run tahoe create-introducer. Now start the introducer by running tahoe start. After it starts, there will be a file named introducer.furl in that base directory. This file contains the URL which the nodes must use in order to connect to this introducer.

- -

To construct a node, create a new empty base directory (the name of the directory is up to you) and cd into that directory. Now run tahoe create-client. Acquire a copy of the introducer.furl from the introducer and put it into this directory, then run tahoe start. After that, the node should be off and running. The first thing it will do is connect to the introducer and get itself connected to all other nodes on the grid.

- -

Point your web browser to http://127.0.0.1:8123 to use this node.

- +

This is how to run a Tahoe node or a complete Tahoe grid. First you + have to install the Tahoe source code, as documented in install.html.

+ +

The tahoe executable is used to create, start, and stop + nodes. Each node lives in a separate base directory, inside of which you + can add files to configure the node. Nodes also read and write files + within that directory.

+ +

A grid consists of a single Introducer and one or more nodes. If you + are creating a new grid, you'll need to create both an Introducer and a + node (and then invite other people to create their own nodes and join + your grid). If you are joining an existing grid (such as the public test + grid), the Introducer will already be running, and you'll need to + create a node.

+ +

To construct an introducer, choose a new base directory for it (the + name of the directory is up to you). We'll call this directory $INTRODIR. + Now run tahoe create-introducer $INTRODIR, which will create + the directory for you. Now start the introducer by running tahoe + start $INTRODIR. After it starts, there will be a file named + introducer.furl in that base directory. This file contains + the URL which the nodes must use in order to connect to this + introducer.

+ +

To construct a node, choose a new empty base directory (again, the + name of the directory is up to you), which we'll call $NODEDIR. Now run + tahoe create-client $NODEDIR, which will create the + directory. Acquire a copy of the introducer.furl from the + introducer and put it into this directory, then run tahoe start + $NODEDIR. After that, the node should be off and running. The + first thing it will do is connect to the introducer and get itself + connected to all other nodes on the grid.

+ +

If you're only running a single node, the usual base directory for it + is ~/.tahoe . The tahoe executable will use this as a + default if you don't provide a $NODEDIR explicitly. So an easy way to set + up your node is to run tahoe create-client, copy in the + introducer.furl, then run tahoe start.

+ +

Point your web browser to http://127.0.0.1:8123 to use this + node.

+ + + +