Changes between Version 1 and Version 2 of AdvancedInstall
- Timestamp:
- 2010-04-21T17:03:06Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedInstall
v1 v2 1 1 = Additional !Build/Install Documentation = 2 3 Hopefully, the basic install docs in 4 [http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/install.html docs/install.html] 5 are enough for the most common use cases. This page provides additional 6 information for specific platforms. 2 The quick start docs in 3 [http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html docs/quickstart.html] 4 are sufficient to get Tahoe-LAFS running on all platforms. If you have trouble getting it to work by following [http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html docs/quickstart.html] then please write to [http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev the tahoe-dev mailing list] and ask for help. 7 5 8 6 Please feel free to add sections to this page with anything you might learn 9 while building Tahoe-LAFS on other platforms. Information which may be useful in10 the most general cases will be folded into docs/ install.html .7 while building Tahoe-LAFS. Information which may be useful in 8 the most general cases will be folded into docs/quickstart.html . 11 9 12 10 == Dependencies == … … 18 16 `zope.interface: 3.5.0, simplejson: 2.0.7, pyutil: 1.3.30, zbase32: 1.1.1, allmydata-tahoe: 1.2.0-r3353, pyOpenSSL: 0.7, Twisted: 8.1.0-r25700, Nevow: 0.9.33-r17166, foolscap: 0.3.2, zfec: 1.4.2, pycryptopp: 0.5.12, argparse: 0.8.0, setuptools: 0.6c10dev` 19 17 20 In addition to these, if you are installing on Microsoft Windows, then you need to manually install [http://sourceforge.net/projects/pywin32 pywin32] before installingTahoe-LAFS.18 In addition to these, if you are running on Microsoft Windows, then you need to manually install [http://sourceforge.net/projects/pywin32 pywin32] before setting up Tahoe-LAFS. 21 19 22 20 == Overview == … … 180 178 === Windows === 181 179 182 The following procedure will install and run Tahoe-LAFS on Windows. Note that this assumes that you install Python in the default location (C:\Python26), if you choose another location you'll need to adjust the instructions below:183 184 1. Download and install Python 2. 6.2 from http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi.185 186 2. Download and install pywin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2. 6.exe/download.187 188 3. Download the latest Tahoe-LAFS snapshot from http://tahoe-lafs.org/source/tahoe-lafs/snapshots/. Unpack it in a convenient place, such as C:\tahoe-lafs.180 The following procedure will install and run Tahoe-LAFS on Windows. (This is basically exactly the [http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html docs/quickstart.html] procedure except with Windows-specific paths spelled out.) Note that this assumes that you install Python in the default location (C:\Python25), if you choose another location you'll need to adjust the instructions below: 181 182 1. Download and install Python 2.5.4 from http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi. 183 184 2. Download and install pywin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.5.exe/download. 185 186 3. Download the latest Tahoe-LAFS release from http://tahoe-lafs.org/source/tahoe-lafs/releases/. Unpack it in a convenient place, such as C:\tahoe-lafs. 189 187 190 188 4. Open a command prompt and cd to the top of the Tahoe-LAFS tree (e.g. {{{cd \tahoe-lafs}}}). 191 189 192 5. Run "{{{C:\Python2 6\python setup.py build}}}". Wait a bit until it stops working. Note that you need a working network connection because it will download various dependencies. Ignore any warnings referring to darcs.193 194 6. Run "{{{C:\Python2 6\python setup.py install}}}". Wait a bit until it stops working. Again, you may need a working network connection.195 196 7. Run "{{{C:\Python2 6\Scripts\tahoe create-client --basedir C:\tahoelafsbase}}}". Choose an appropriate base directory.197 198 8. Run "{{{notepad C:\tahoelafsbase\tahoe.cfg}}}" to edit your config file. After "{{{introducer.furl = }}}", paste in the FURL of the introducer for the grid you want to connect to. The test grid FURL is pb://todjw7qkb4dgq4fkeo7cqydcu5vneioh@tahoecs2.allmydata.com:52106/introducer.199 200 9. Run "{{{C:\Python2 6\Scripts\tahoe start --basedir C:\tahoelafsbase}}}". Your node will start running and connect to the grid. The Windows firewall may ask whether or not to allow python to make network connections. Say yes.190 5. Run "{{{C:\Python25\python setup.py build}}}". Wait a bit until it stops working. Note that you need a working network connection because it will download various dependencies. Ignore any warnings. 191 192 6. Run "{{{C:\Python25\python setup.py install}}}". Wait a bit until it stops working. Again, you may need a working network connection. 193 194 7. Run "{{{C:\Python25\Scripts\tahoe create-client --basedir C:\tahoelafsbase}}}". Choose an appropriate base directory. 195 196 8. Run "{{{notepad C:\tahoelafsbase\tahoe.cfg}}}" to edit your config file. After "{{{introducer.furl = }}}", paste in the FURL of the introducer for the grid you want to connect to. See [wiki:TestGrid TestGrid] to get the FURL of the introducer for the testgrid. 197 198 9. Run "{{{C:\Python25\Scripts\tahoe start --basedir C:\tahoelafsbase}}}". Your node will start running and connect to the grid. The Windows firewall may ask whether or not to allow python to make network connections. Say yes. 201 199 202 200 === What if that doesn't work? === … … 206 204 1. Download and install MinGW from http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.4/MinGW-5.1.4.exe/download. The installer will prompt you for what components to install. You need the base components plus g++. 207 205 208 2. Configure distutils to use MinGW. To configure distutils to use mingw32, create a file called "distutils.cfg" in C:\Python2 6\lib\distutils, and put in that file:206 2. Configure distutils to use MinGW. To configure distutils to use mingw32, create a file called "distutils.cfg" in C:\Python25\lib\distutils, and put in that file: 209 207 210 208 {{{ … … 217 215 After installing the compilers, repeat the above instructions from step 4 (using a new command prompt to make sure that the environment variable setting has taken effect). 218 216 219 If you prefer to use Python 2.5, you must install a 2.5 build of pywin32 and also install OpenSSL or Tahoe-LAFS will fail to run with an error about being unable to find ssl.dll.To install OpenSSL:217 To install OpenSSL: 220 218 221 219 1. Download and install the Visual Studio 2008 redistributables from http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en. This is needed for OpenSSL.