Firefox sync : Différence entre versions
Ligne 2 : | Ligne 2 : | ||
http://docs.services.mozilla.com/howtos/run-sync.html | http://docs.services.mozilla.com/howtos/run-sync.html | ||
+ | |||
+ | http://docs.services.mozilla.com/server-devguide/setup.html | ||
==prerequis== | ==prerequis== | ||
Ligne 9 : | Ligne 11 : | ||
wget http://pkgs.repoforge.org/mercurial/mercurial-hgk-1.2.1-1.el4.rf.i386.rpm | wget http://pkgs.repoforge.org/mercurial/mercurial-hgk-1.2.1-1.el4.rf.i386.rpm | ||
wget http://pkgs.repoforge.org/mercurial/mercurial-1.2.1-1.el4.rf.i386.rpm | wget http://pkgs.repoforge.org/mercurial/mercurial-1.2.1-1.el4.rf.i386.rpm | ||
− | yum localinstall | + | yum localinstall mercurial-hgk-1.2.1-1.el4.rf.i386.rpm mercurial-1.2.1-1.el4.rf.i386.rpm |
===python=== | ===python=== | ||
Ligne 33 : | Ligne 35 : | ||
$ cd server-full | $ cd server-full | ||
$ make build | $ make build | ||
+ | |||
+ | |||
+ | pour le moment j'ai un | ||
+ | abort: couldn't find mercurial libraries in [/usr/bin /usr/local/lib/python2.6/site-packages/distribute-0.6.27-py2.6.egg /usr/local/lib/python2.6/site-packages/MoPyTools-3.2-py2.6.egg /usr/local/lib/python2.6/site-packages/pypi2rpm-0.6.3-py2.6.egg /usr/local/lib/python2.6/site-packages/virtualenv-1.7.2-py2.6.egg /usr/local/lib/python2.6/site-packages/Distutils2-1.0a3-py2.6.egg /usr/local/lib/python2.6/site-packages/flake8-1.3.1-py2.6.egg /usr/local/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg /usr/local/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg /usr/local/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg /usr/local/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg /usr/local/lib/python26.zip /usr/local/lib/python2.6 /usr/local/lib/python2.6/plat-linux2 /usr/local/lib/python2.6/lib-tk /usr/local/lib/python2.6/lib-old /usr/local/lib/python2.6/lib-dynload /usr/local/lib/python2.6/site-packages /usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info] | ||
+ | (check your install and PYTHONPATH) | ||
+ | |||
==restaurer python== | ==restaurer python== |
Version du 26 juin 2012 à 18:03
installer le serveur sync de firefox sur sme 7
http://docs.services.mozilla.com/howtos/run-sync.html
http://docs.services.mozilla.com/server-devguide/setup.html
Sommaire
prerequis
yum install mysql-devel openldap-devel
Mercurial repo
wget http://pkgs.repoforge.org/mercurial/mercurial-hgk-1.2.1-1.el4.rf.i386.rpm wget http://pkgs.repoforge.org/mercurial/mercurial-1.2.1-1.el4.rf.i386.rpm yum localinstall mercurial-hgk-1.2.1-1.el4.rf.i386.rpm mercurial-1.2.1-1.el4.rf.i386.rpm
python
télécharger python 2.6.8,
tar -xzf cd ./configure make make install
path python
https://wiki.archlinux.org/index.php/Mozilla_Sync_Server#Python_preparation
Installer les plugins de python requis
$ curl -O http://python-distribute.org/distribute_setup.py $ python distribute_setup.py $ easy_install MoPyTools $ hg clone https://hg.mozilla.org/services/server-full $ cd server-full
compiler sync
$ hg clone https://hg.mozilla.org/services/server-full $ cd server-full $ make build
pour le moment j'ai un
abort: couldn't find mercurial libraries in [/usr/bin /usr/local/lib/python2.6/site-packages/distribute-0.6.27-py2.6.egg /usr/local/lib/python2.6/site-packages/MoPyTools-3.2-py2.6.egg /usr/local/lib/python2.6/site-packages/pypi2rpm-0.6.3-py2.6.egg /usr/local/lib/python2.6/site-packages/virtualenv-1.7.2-py2.6.egg /usr/local/lib/python2.6/site-packages/Distutils2-1.0a3-py2.6.egg /usr/local/lib/python2.6/site-packages/flake8-1.3.1-py2.6.egg /usr/local/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg /usr/local/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg /usr/local/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg /usr/local/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg /usr/local/lib/python26.zip /usr/local/lib/python2.6 /usr/local/lib/python2.6/plat-linux2 /usr/local/lib/python2.6/lib-tk /usr/local/lib/python2.6/lib-old /usr/local/lib/python2.6/lib-dynload /usr/local/lib/python2.6/site-packages /usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info]
(check your install and PYTHONPATH)
restaurer python
http://www.wenks.ch/fabian/mozilla-custom-sync-server/