Tahoe-LAFS: Difference between revisions
imported>Echarlie No edit summary |
imported>Pew No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 11: | Line 11: | ||
** Available in Arch's community repo | ** Available in Arch's community repo | ||
* Install various dependencies. | * Install various dependencies. | ||
** On | ** On Debian 9, install <code>python-txtorcon tahoe-lafs tor</code> | ||
* | ** On Debian 8, the distro packages are too old so you need to install things manually. | ||
* | *** <code>pip2 install -U pyopenssl txtorcon tahoe-lafs</code> | ||
*** Follow the Tor Project's [https://www.torproject.org/docs/debian.html.en instructions] for installing the latest stable version of tor on Debian Jessie. | |||
** CentOS 6 is unsupported, as Tahoe-LAFS now requires Python 2.7. | |||
* | * Edit <code>/etc/tor/torrc</code> and uncomment the <code>ControlPort 9051</code> line, then restart tor. | ||
* Edit the tahoe defaults file (<code>/etc/defaults/tahoe-lafs</code>) to start your nodes along with tahoe-lafs startup. Note that in this example, I have two node directories underneath "/srv/tahoe-storage", "introducer" and "tor-storage". For most users you should only have one node directory for storage. | |||
<pre> | |||
* | # Start only these tahoe-lafs nodes automatically via init script. Allowed | ||
# values are "all", "none" or space separated list of tahoe-lafs nodes. If | |||
# empty, "none" is assumed. | |||
# | |||
#AUTOSTART="all" | |||
AUTOSTART="introducer tor-storage" | |||
#AUTOSTART="home office" | |||
# Pass arguments to tahoe start. Default to "--syslog". | |||
DAEMONARGS="--syslog" | |||
CONFIG_DIR="/srv/tahoe-storage" | |||
</pre> | |||
* Create a Tahoe user and add it to the tor group | |||
** <code>useradd tahoe-lafs</code> | |||
** <code>usermod -aG debian-tor tahoe-lafs</code> | |||
* Create the appropriate tahoe services, and start them: | |||
** <code>sudo -u tahoe-lafs tahoe create-node --listen=tor -n YOUR_NODE_NAME -C /srv/tahoe-storage/vtluug-tor-storage -i GET_THIS_STRING_FROM_AN_OFFICER</code> | |||
** <code>systemctl start tahoe-lafs</code> | |||
* | |||
=== Tuning === | === Tuning === | ||
| Line 114: | Line 102: | ||
[[Category:VTLUUG:Projects]] | [[Category:VTLUUG:Projects]] | ||
[[Category: | [[Category:Deprecated]] | ||