summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-10-01 20:38:17 +0200
committermakefu <github@syntax-fehler.de>2013-10-01 20:38:17 +0200
commitd172c8c1814d227b7b623b47ff9fc13c565e5be9 (patch)
tree8f4c6b842da7e94f18ac99bb84604dd0a1f43fd3
parentfbfefa014173910aff73f55225527216e5e00a0b (diff)
add client-installation for tahoe
-rw-r--r--cholerab/tahoe/client_installation15
1 files changed, 15 insertions, 0 deletions
diff --git a/cholerab/tahoe/client_installation b/cholerab/tahoe/client_installation
new file mode 100644
index 00000000..14a23c80
--- /dev/null
+++ b/cholerab/tahoe/client_installation
@@ -0,0 +1,15 @@
+#?/bin/sh
+# Tahoe installation
+pacman -S python2 python2-pip
+pip install pyasn1 zfec pycrypto zbase32 pycryptopp twisted
+pip install allmydata-tahoe
+
+# tahoe configuration
+tahoe create-client
+# replace introducer.furl = None with the one from pigstarter/tahoe/introducer.furl
+sed -i "s#^introducer\.furl.*#introducer.furl = $(curl pigstarter/tahoe/introducer.furl)#" $HOME/.tahoe/tahoe.cfg
+# you also might want to change shares.needed to 2 , shares.happy to 3 and shares.total to 6
+echo "krebs: <special krebs URI from irc>" >> $HOME/.tahoe/private/aliases
+
+tahoe start
+tahoe ls krebs: