Changes
Update to latest instructions
** Available in Arch's community repo
* Install various dependencies.
** On CentOS 6Debian 9, you'll need to install <code>yum -y install libffi libffi-devel python-devel openssltxtorcon tahoe-devellafs tor</code>* Get * On Debian 8, the latest version of Tahoe-LAFS. To use it with Torsocks 2.x, distro packages are too old so you must use [https://github.com/tahoe-lafs/tahoe-lafs the latest version from their Github] containing [[User:Mjh|mhazinsk]]'s patchneed to install things manually.* Create a hidden service by editing the ** <code>torrcpip2 install -U pyopenssl txtorcon tahoe-lafs</code> file, usually found at <code>*** Follow the Tor Project's [https:/etc/torwww.torproject.org/torrc<docs/code>debian.html. Add en instructions] for installing the following: HiddenServiceDir /var/lib/latest stable version of tor/tahoe_storage/ on Debian Jessie. HiddenServicePort 4456 127** CentOS 6 is unsupported, as Tahoe-LAFS now requires Python 2.07.0.1:4456* Get the hostname for the hidden service by restarting tor and running Edit <code>cat /var/libetc/tor/tahoe_storage/hostnametorrc</code>* cd to where you cloned the Tahoe-LAFS repo and do uncomment the following:** <code>python setup.py buildControlPort 9051</code> to build the necessary binaries line, then restart tor.** Edit the tahoe defaults file (<code>bin/etc/defaults/tahoe create-node ''path''lafs</code> ) to create a Tahoe directory in the given ''path''start your nodes along with tahoe-lafs startup. Note that your in this will be used 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 both configuration data and encrypted blob storage.** <codepre>vim ''path''/# Start only these tahoe-lafs nodes automatically via init script.cfg</code> and make it look like the following: Allowed [node] # Nicknames values are optional but useful nickname = mhazinsk"all", "none" or space separated list of tahoe-2 lafs nodes. If # Optional web interfaceempty, "none" is assumed. web.port = tcp:3456:interface=127.0.0.1 # web.static = public_html # This is what what you defined in tor. tub.port AUTOSTART= tcp:4456:interface=127.0.0.1 "all" tub.location AUTOSTART= yourhiddenservicehostname.onion:4456 [client] "introducer.furl = pb://getthisstringfromanofficer@hiddenservice.onion:37204/otherstuff [tor-storage]" enabled #AUTOSTART= true"home office" # You can change this if you have less space, but less than a # few 10's of GB is not useful reserved_space = 100G expirePass arguments to tahoe start. Default to "--syslog".enabled = true expire.mode DAEMONARGS= age"--syslog" expire.override_lease_duration CONFIG_DIR= 2 month"/srv/tahoe-storage" </pre> # Read tahoe's docs if you want * Create a Tahoe user and add it to use the other optionstor group [helper]** <code>useradd tahoe-lafs</code> enabled = false** <code>usermod -aG debian-tor tahoe-lafs</code> * Create the appropriate tahoe services, and start them: [drop_upload] enabled ** <code>sudo -u tahoe-lafs tahoe create-node --listen= false tor -n YOUR_NODE_NAME -C /srv/tahoe-storage/vtluug-tor-storage -i GET_THIS_STRING_FROM_AN_OFFICER</code>* Finally, run * <code>torify bin/systemctl start tahoe start ''path''-lafs</code>. This will daemonize.
=== Tuning ===