Lcstyle

How to install and run Tahoe-Lafs on Windows

Sep 23rd, 2014
535
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. How To Install Tahoe-Lafs on Windows 7 from scratch (Note: IT'S MUCH EASIER TO install Tahoe IN LINUX)
  2.  
  3. WINDOWS INSTALL INSTRUCTIONS
  4. Note: You can skip some of these steps or not follow the order if you follow the resource "how to build crypto on windows" in the SEE ALSO section of the addendum.
  5.  
  6. Install Python
  7. Download Python 2.7 from : https://www.python.org/ftp/python/3.4.1/python-3.4.1.msi
  8. Run the installer (make sure to select add python to path so when you open command shell python is available.)
  9. Note: Important to have a fresh install of Python, building tahoe lafs installs files in your python installation folder
  10. which may cause it to fail to build correctly a second time.
  11.  
  12. Build Tahoe-Lafs
  13. unzip Tahoe-Lafs client to a folder, I created c:\tahoe
  14. run setup build: it will fail due to twisted requirement
  15. delete the twisted egg folder created by the setup build installer (do not however remove the other folder "twisted")
  16. run the twisted 14 installer from:
  17. https://pypi.python.org/packages/2.7/T/Twisted/Twisted-14.0.2.win32-py2.7.msi
  18. rerun setup build, this time it will succeed.
  19.  
  20. Satisfy Broken Requires
  21. 1. service_client
  22. 2. win32api
  23.  
  24. download the pip setup file at https://raw.github.com/pypa/pip/master/contrib/get-pip.py from:
  25. https://pip.pypa.io/en/latest/installing.html (right click save as) into your c:\python27 folder
  26. launch command shell
  27. run python get-pip.py to install PIP
  28. after it completes, go into c:\python27\Scripts and run: pip install service_identity
  29.  
  30. grab pywin32 extensions installer at:
  31. http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/pywin32-219.win32-py2.7.exe/download
  32. run the pywin installer from a _COMMAND SHELL_ that has been run "AS ADMINISTRATOR", make sure it completes without error, if it errors, try running it again. Note that if you run both the pywin 32bit and 64 bit installer, it will create multiple entries in your windows control panel add/remove applet.
  33.  
  34. Create Client
  35. mkdir c:\tahoe\mytahoeclient to create a folder for your client, then
  36. go back to c:\tahoe\bin\ (or just add tahoe bin folder to your path)and run the command:
  37. tahoe create-client c:\tahoe\mytahoeclient
  38. it will warn you to set the node nickname in the tahoe.cfg file
  39.  
  40.  
  41. Configure Client
  42. edit c:\tahoe\mytahoeclient\tahoe.cfg
  43. set the node nickname and the introducer FURL.
  44. The introducer furl will be provided by your grid, or if you are making your own grid,
  45. see other docs on starting your own introducer. You can also use the Tahoe-Lafs Public Test Grid, see:
  46. https://tahoe-lafs.org/trac/tahoe-lafs/wiki/TestGrid
  47.  
  48. The rest of the settings in the tahoe.cfg don't matter right now for basic download / upload purposes.
  49.  
  50. Start Tahoe-Lafs Client
  51. run c:\tahoe\bin\tahoe start c:\tahoe\mytahoeclient
  52. Then open in your browser https://localhost:3456 You should see a green light connected to the introducer.
  53.  
  54.  
  55. ADDENDUM
  56.  
  57. The What and Why of Tahoe-Lafs:
  58. https://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/docs/about.rst
  59.  
  60. A CAP IS A CAPABILITY, a cryptographically computed string that is a pointer to a file with access permissions built in.
  61. See: https://tahoe-lafs.org/trac/tahoe-lafs/wiki/Capabilities
  62.  
  63. the following urls explain how to quickly setup a simple tahoe-lafs client:
  64. https://tahoe-lafs.org/trac/tahoe-lafs/browser/docs/quickstart.rst <<< official docs
  65. https://www.digitalocean.com/community/tutorials/tahoe-lafs <<< more howto
  66. https://bigasterisk.com/tahoe-playground/ << interactive how tahoe stores your data.
  67. https://code.google.com/p/nilestore/wiki/TahoeLAFSBasics << a really awesome intro guide
  68.  
  69. See Also:
  70. How To Build Crypto on Windows: https://tahoe-lafs.org/trac/tahoe-lafs/wiki/HowtoBuildPyCryptoOnWindows
  71. Requires: https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/README.html
  72. Install-Time Compile errors: https://tahoe-lafs.org/trac/tahoe-lafs/wiki/CompileError
  73.  
  74.  
  75. Privately compiled notes:
  76. How to use PyCharm(IDE) to debug Tahoe-Lafs: http://cryptb.in/YG#f5aef5ec8cacbdd86010a6c517f29bcd
  77. Tahoe-Lafs Gotcha's and Miscellany: http://pastebin.com/3FV7gQYu
Advertisement
Add Comment
Please, Sign In to add comment