Re: How can I run Tahoe-LAFS on one computer
On Tue, Nov 12, 2013 at 3:07 AM, str4d wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > You can create Tahoe nodes anywhere and run multiple nodes under a > single user. If you don't specify a node location, the default > location is used (~/.tahoe/). But you can also specify a node directory: > > $ tahoe create-client ~/.tahoe-client > $ tahoe create-introducer ~/.tahoe/introducer > $ tahoe start -d ~/.tahoe-client > $ tahoe start --node-directory=/home/user/.tahoe/introducer > The lafs-giab script is basically a wrapper around the above, except it also relies on a convention where the separate node config directories live in a common parent directory. So to do the equivalent of those four commands, you'd do: $ lafs_giab.py -d ~/my_giab_dir/ launch > (Some commands support appending the node directory. All commands IIRC > support "-d", "--node-directory=" ) > > str4d > > On 11/12/2013 09:24 PM, Ed Kapitein wrote: >> On Tue, 2013-11-12 at 16:03 +0800, xiao_s_yuan wrote: >>> I want to know can I put the client,storage,introducer on one >>> computer with ubuntu,I tried to do this but find that only one >>> ".tahoe" can exist under the /root folder,but every client or >>> storage must have a folder like ".tahoe",so how can I run >>> tahoe-LAFS on only one computer >> >> Hi xiao, >> >> I successfully did that once by using different users for the >> introducer and the storage server. So run the introducer as user1 >> and run the main tahoe process as user2. >> >> >> Kind regards, Ed >> >> >> ___ tahoe-dev mailing >> list tahoe-dev@tahoe-lafs.org >> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev >> > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.14 (GNU/Linux) > > iQEcBAEBCgAGBQJSggu8AAoJENXeOJaUpGWyrtAH/3+Xb0zp75Si1RDRFc/SHrMJ > tlMDLMG2Nf8MLN9BMYRtCxJXWPihIisBAEv8dGOR4MNk1Czmn6EJsDOSe0BXLVBp > vLa3alpudNCbfpLXgjt2w2CkmlMmAQpZCEBHGEibSuJEMgDBYScmQV6kT7kkVsnR > cMAo6VfthkDi1MJPkx5Hsfl6TzROWiw6ditWKf2wau3lQWmkZcIptrFjwxaDmc8l > zHSszya5IvzHclFRdVRIN2RHZeOgkZx8stu5kDobe94T8oRoWDsMyXXQiyLetnkM > eO1SNpq2Yh0glYtcK/ksx+9Vqwc8kpJMz6/H/+sjRjEjfsWx/7wV0QTde6AgZpQ= > =JDK4 > -END PGP SIGNATURE- > ___ > tahoe-dev mailing list > tahoe-dev@tahoe-lafs.org > https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev ___ tahoe-dev mailing list tahoe-dev@tahoe-lafs.org https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
Re: How can I run Tahoe-LAFS on one computer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 You can create Tahoe nodes anywhere and run multiple nodes under a single user. If you don't specify a node location, the default location is used (~/.tahoe/). But you can also specify a node directory: $ tahoe create-client ~/.tahoe-client $ tahoe create-introducer ~/.tahoe/introducer $ tahoe start -d ~/.tahoe-client $ tahoe start --node-directory=/home/user/.tahoe/introducer (Some commands support appending the node directory. All commands IIRC support "-d", "--node-directory=" ) str4d On 11/12/2013 09:24 PM, Ed Kapitein wrote: > On Tue, 2013-11-12 at 16:03 +0800, xiao_s_yuan wrote: >> I want to know can I put the client,storage,introducer on one >> computer with ubuntu,I tried to do this but find that only one >> ".tahoe" can exist under the /root folder,but every client or >> storage must have a folder like ".tahoe",so how can I run >> tahoe-LAFS on only one computer > > Hi xiao, > > I successfully did that once by using different users for the > introducer and the storage server. So run the introducer as user1 > and run the main tahoe process as user2. > > > Kind regards, Ed > > > ___ tahoe-dev mailing > list tahoe-dev@tahoe-lafs.org > https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBCgAGBQJSggu8AAoJENXeOJaUpGWyrtAH/3+Xb0zp75Si1RDRFc/SHrMJ tlMDLMG2Nf8MLN9BMYRtCxJXWPihIisBAEv8dGOR4MNk1Czmn6EJsDOSe0BXLVBp vLa3alpudNCbfpLXgjt2w2CkmlMmAQpZCEBHGEibSuJEMgDBYScmQV6kT7kkVsnR cMAo6VfthkDi1MJPkx5Hsfl6TzROWiw6ditWKf2wau3lQWmkZcIptrFjwxaDmc8l zHSszya5IvzHclFRdVRIN2RHZeOgkZx8stu5kDobe94T8oRoWDsMyXXQiyLetnkM eO1SNpq2Yh0glYtcK/ksx+9Vqwc8kpJMz6/H/+sjRjEjfsWx/7wV0QTde6AgZpQ= =JDK4 -END PGP SIGNATURE- ___ tahoe-dev mailing list tahoe-dev@tahoe-lafs.org https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
Re: How can I run Tahoe-LAFS on one computer
On Tue, Nov 12, 2013 at 09:24:18AM +0100, Ed Kapitein wrote: > On Tue, 2013-11-12 at 16:03 +0800, xiao_s_yuan wrote: > > I want to know can I put the client,storage,introducer on one computer > > with ubuntu,I tried to do this but find that only one ".tahoe" can > > exist under the /root folder,but every client or storage must have a > > folder like ".tahoe",so how can I run tahoe-LAFS on only one computer > > Hi xiao, > > I successfully did that once by using different users for the introducer > and the storage server. > So run the introducer as user1 and run the main tahoe process as user2. > > > Kind regards, > Ed The tahoe create-{client,node,introducer} and {start,stop,restart} commands all accept an optional directory argument which can be used instead of the default ~/.tahoe directory. Here are two different scripts which each automate the creation of local grids for testing purposes: https://github.com/nejucomo/lafs-giab https://github.com/leif/tahoe-lafs/blob/truckee/quickgrid.sh ~leif signature.asc Description: Digital signature ___ tahoe-dev mailing list tahoe-dev@tahoe-lafs.org https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
Re: How can I run Tahoe-LAFS on one computer
On Tue, 2013-11-12 at 16:03 +0800, xiao_s_yuan wrote: > I want to know can I put the client,storage,introducer on one computer > with ubuntu,I tried to do this but find that only one ".tahoe" can > exist under the /root folder,but every client or storage must have a > folder like ".tahoe",so how can I run tahoe-LAFS on only one computer Hi xiao, I successfully did that once by using different users for the introducer and the storage server. So run the introducer as user1 and run the main tahoe process as user2. Kind regards, Ed ___ tahoe-dev mailing list tahoe-dev@tahoe-lafs.org https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev