Firefox sync : Différence entre versions

De SME Server Wiki
 
(10 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
installer le serveur sur sme 7
+
installer le serveur sync de firefox sur sme 7
  
 
http://docs.services.mozilla.com/howtos/run-sync.html
 
http://docs.services.mozilla.com/howtos/run-sync.html
  
yum install  mysql-devel openldap-devel
+
http://docs.services.mozilla.com/server-devguide/setup.html
  
 +
http://pypi.python.org/pypi/Mercurial/1.2.1
  
telecharger python 2.6.8, configure make make install
 
  
  
télécharger virtualenv
+
==prerequis==
 +
yum install  mysql-devel openldap-devel
 +
yum install bzip2 bzip2-devel bzip2-libs  readline readline-devel tkinter gdbm-devel tk-devel sqlite-devel db4-devel openssl-devel  bluez-libs-devel
  
 +
(va aussi installer tcl tk et tix)
  
 +
http://bda.ath.cx/blog/2009/04/08/installing-python-26-in-centos-5-or-rhel5/
  
  
  
wget http://pkgs.repoforge.org/mercurial/mercurial-hgk-1.2.1-1.el4.rf.i386.rpm
+
===python===
  wget http://pkgs.repoforge.org/mercurial/mercurial-1.2.1-1.el4.rf.i386.rpm
+
télécharger python 2.6.8,
  yum localinstall
+
tar -xzf
 +
cd
 +
  ./configure
 +
make
 +
  make install
  
 +
lors de la compilation il y aura un message a la fin indiquanr qu'il ne peut compiler les modules pour bsddb185 et sunaudiodev, mais ils ne seront pas utilise sous SME.
  
path python
+
=== path python ===
 
https://wiki.archlinux.org/index.php/Mozilla_Sync_Server#Python_preparation
 
https://wiki.archlinux.org/index.php/Mozilla_Sync_Server#Python_preparation
 +
cd /usr/bin
 +
cp -a  python python23
 +
rm python -f
 +
ln -sf /usr/local/bin/python /usr/bin/python
 +
 +
=== Installer les plugins de python requis ===
 +
 +
curl -O http://python-distribute.org/distribute_setup.py
 +
python distribute_setup.py
 +
easy_install MoPyTools
 +
easy_install docutils
 +
easy_install roman
 +
easy_install mercurial
 +
 +
== installer mercurial===
 +
cd
 +
wget http://mercurial.selenic.com/release/mercurial-2.2.tar.gz
 +
tar -xzf mercurial-2.2.tar.gz
 +
cd mercurial
 +
make install
 +
 +
== compiler sync==
 +
  hg clone https://hg.mozilla.org/services/server-full
 +
  cd server-full
 +
  make build
 +
 +
 +
 +
avec succés !!
 +
 +
==restaurer python==
 +
 +
http://www.wenks.ch/fabian/mozilla-custom-sync-server/
 +
cd /usr/bin
 +
rm -f /usr/bin/python
 +
cp -a /usr/bin/python23 /usr/bin/python
 +
rm -f /usr/bin/python23
 +
ou temporairement
 +
cd /usr/bin
 +
rm -f /usr/local/bin/python23
 +
ln -sf /usr/bin/python23 /usr/bin/python
 +
 +
 +
==serveur web==
  
alias virtualenv
+
==rpm ico ==
  
$ hg clone https://hg.mozilla.org/services/server-full
+
http://www.jethrocarr.com/2012/03/04/mozilla-sync-server-rpms/
$ cd server-full
+
modifier le MAkefil path virtuelenv et python
+
$ make build
+
  
restaurer python
+
http://repos.amberdms.com/pub/amberdms/linux/centos/5/amberdms-os/SRPMS/

Version actuelle en date du 26 juin 2012 à 21:10

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

http://pypi.python.org/pypi/Mercurial/1.2.1


prerequis

yum install  mysql-devel openldap-devel
yum install bzip2 bzip2-devel bzip2-libs  readline readline-devel tkinter gdbm-devel tk-devel sqlite-devel db4-devel openssl-devel  bluez-libs-devel

(va aussi installer tcl tk et tix)

http://bda.ath.cx/blog/2009/04/08/installing-python-26-in-centos-5-or-rhel5/


python

télécharger python 2.6.8,

tar -xzf
cd
./configure
make
make install

lors de la compilation il y aura un message a la fin indiquanr qu'il ne peut compiler les modules pour bsddb185 et sunaudiodev, mais ils ne seront pas utilise sous SME.

path python

https://wiki.archlinux.org/index.php/Mozilla_Sync_Server#Python_preparation

cd /usr/bin
cp -a  python python23
rm python -f
ln -sf /usr/local/bin/python /usr/bin/python

Installer les plugins de python requis

curl -O http://python-distribute.org/distribute_setup.py
python distribute_setup.py
easy_install MoPyTools
easy_install docutils
easy_install roman
easy_install mercurial

installer mercurial=

cd
wget http://mercurial.selenic.com/release/mercurial-2.2.tar.gz
tar -xzf mercurial-2.2.tar.gz
cd mercurial
make install

compiler sync

 hg clone https://hg.mozilla.org/services/server-full
 cd server-full
 make build


avec succés !!

restaurer python

http://www.wenks.ch/fabian/mozilla-custom-sync-server/

cd /usr/bin
rm -f /usr/bin/python
cp -a /usr/bin/python23 /usr/bin/python
rm -f /usr/bin/python23

ou temporairement

cd /usr/bin
rm -f /usr/local/bin/python23
ln -sf /usr/bin/python23 /usr/bin/python


serveur web

rpm ico

http://www.jethrocarr.com/2012/03/04/mozilla-sync-server-rpms/

http://repos.amberdms.com/pub/amberdms/linux/centos/5/amberdms-os/SRPMS/