Installation et Configuration de TAHOE-LAFS » Historique » Version 4
« Précédent -
Version 4/43
(diff) -
Suivant » -
Version actuelle
Julien Aubé, 16/09/2011 00:53
Installation et Configuration de TAHOE-LAFS¶
Cette page décrit comment monter un cluster Tahoe sur Debian, y compris en VM.
Distribution¶
La distribution Debian/SID (testing) a packagé une version récente de Tahoe-LAFS.
Sur une version stable (actuellement: Squeeze) , nous allons déclarer les packages SID en mode non prioritaires.
Dans /etc/apt/source.list il faut:
deb http://ftp.fr.debian.org/debian squeeze main deb http://ftp.fr.debian.org/debian sid main contrib non-free deb http://security.debian.org/ sid/updates main contrib non-free
Dans /etc/apt/preferences il faut:
Package: * Pin: release o=apt-build Pin-Priority: 989 Package: * Pin: release o=Debian,a=stable,l=Debian-Security Pin-Priority: 987 Package: * Pin: release o=Debian,a=stable,l=Debian Pin-Priority: 985 Package: * Pin: release o=Debian,a=testing,l=Debian-Security Pin-Priority: 99 Package: * Pin: release o=Debian,a=testing,l=Debian Pin-Priority: 97
Ensuite, appeler:
# ~> aptitude update
Installer Tahoe¶
Il suffit de taper:
# ~> aptitude install python-twisted tahoe-lafs
Pour vérifier, il faut taper:
# ~> tahoe --version
La réponse devrait ressembler à :
allmydata-tahoe: 1.8.3, foolscap: 0.6.1, pycryptopp: 0.5.29, zfec: 1.4.5, Twisted: 11.0.0, Nevow: 0.10.0, zope.interface: unknown, python: 2.6.7, platform: Linux-debian_6.0.2-x86_64-64bit_ELF, pyOpenSSL: 0.13, simplejson: 2.2.0, pycrypto: 2.3, pyasn1: unknown, mock: 0.7.2, sqlite3: 2.4.1 [sqlite 3.7.3], setuptools: 0.6 [distribute] Warning: dependency twisted-web (version 11.0.0) found by pkg_resources not found by import. Warning: dependency twisted-core (version 11.0.0) found by pkg_resources not found by import. For debugging purposes, the PYTHONPATH was None install_requires was ['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4', 'zope.interface', 'Twisted >= 2.4.0', 'foolscap[secure_connections] >= 0.6.1', 'Nevow >= 0.6.0', 'pycrypto == 2.0.1, == 2.1.0, >= 2.3', 'pyasn1 >= 0.0.8a', 'mock', 'pycryptopp >= 0.5.20'] sys.path after importing pkg_resources was /usr/bin: /usr/lib/python2.6: /usr/lib/python2.6/plat-linux2: /usr/lib/python2.6/lib-tk: /usr/lib/python2.6/lib-old: /usr/lib/python2.6/lib-dynload: /usr/local/lib/python2.6/dist-packages: /usr/lib/python2.6/dist-packages: /usr/lib/pymodules/python2.6