Skip to content

Instantly share code, notes, and snippets.

@BlinkyStitt
Last active December 15, 2015 21:59
Show Gist options
  • Save BlinkyStitt/5329471 to your computer and use it in GitHub Desktop.
Save BlinkyStitt/5329471 to your computer and use it in GitHub Desktop.
Tahoe-LAFS
# Downloading and Installing Tahoe-LAFS
Note: I already have ~/bin on my path
mkdir ~/src
cd ~/src
wget https://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-1.9.2.zip
unzip allmydata-tahoe-1.9.2.zip
cd allmydata-tahoe-1.9.2
python setup.py build
ln -sfv ~/src/allmydata-tahoe-1.9.2/bin/tahoe ~/bin/tahoe
# Creating the Introducer
mkdir ~/.tahoe
tahoe create-introducer ~/.tahoe/introducer0
vim ~/.tahoe/introducer0/tahoe.cfg
set nickname
tahoe start ~/.tahoe/introducer0/
cat ~/.tahoe/introducer0/introducer.furl
Note: I still need a good way to start the introducer on boot
# Creating the Storage Node
tahoe create-node /path/to/storage/
vim /path/to/storage/tahoe.cfg
set nickname
change web.port if there are multiple storage nodes or clients on the same box
set tub.port
set tub.location to an internet accessible furl
set introducer.furl
tahoe start /path/to/storage/
Note: I still need a good way to start the storage node on boot
# Creating the Client Node
tahoe create-client
vim ~/.tahoe/tahoe.cfg
set nickname
change web.port if there are multiple storage nodes or clients on the same box
set introducer.furl
tahoe start
Note: I still need a good way to start the storage node on boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment