4828
Commentaire: sogo vers bd funambol
|
5168
android
|
Texte supprimé. | Texte ajouté. |
Ligne 117: | Ligne 117: |
== Installation du client funambol sur Androïd == 1. à partir du "androïd market" installer funambol sync client 1. suivre la [[https://www.forge.funambol.org/servlets/OCNDirector?id=DOCQSANDR|doc]] : * Dans la section "Remote Names", renseigner : * 'sogo-card' pour le carnet d'adresses * 'sogo-cal' pour l'agenda |
Sommaire
Procédure d'installation du serveur Funambol
Source : Francis @Inverse.ca
mysql -pxxxxxxxxxxxxxx > > create database funambol; > > use funambol; > > grant all privileges on funambol.* to 'funambol'@'localhost' identified by 'xxxxxxxxxxxxxxxx'; > > \q mkdir /tmp/funambol cd /tmp/funambol wget http://download.forge.objectweb.org/sync4j/funambol-8.7.0.bin wget http://json-simple.googlecode.com/files/json_simple.jar wget http://www.sogo.nu/uploads/Funambol/funambol-sogo-1.0.8.s4j wget http://mysql.mirror.iweb.ca/Downloads/Connector-J/mysql-connector-java-5.1.15.tar.gz wget http://mirror.olnevhost.net/pub/apache//commons/configuration/binaries/commons-configuration-1.6.tar.gz wget http://apache.imghat.com//commons/lang/binaries/commons-lang-2.6-bin.tar.gz wget http://www.ecoficial.com/apachemirror//commons/logging/binaries/commons-logging-1.1.1-bin.tar.gz wget http://www.trieuvan.com/apache//commons/collections/binaries/commons-collections-3.2.1-bin.tar.gz (extraire les .jar) sh funambol-8.7.0.bin ... /opt/Funambol/bin/funambol stop cp *.jar /opt/Funambol/tools/tomcat/lib/ cp funambol-sogo-1.0.8.s4j /opt/Funambol/ds-server/modules/ (modifier /opt/Funambol/ds-server/install.properties) groupadd funambol useradd -g funambol -d /opt/Funambol funambol chmod 770 /opt/Funambol/ cd /opt/Funambol/ yes | ./bin/install chown -R funambol:funambol /opt/Funambol/ mysql -h localhost -u funambol funambol -p > > INSERT INTO fnbl_sync_source (uri, config, name, sourcetype) VALUES ('sogo-cal', 'sogo/sogo/sogo/sogo-cal.xml', 'sogo-cal', 'sogo'), ('sogo-card', 'sogo/sogo/sogo/sogo-card.xml', 'sogo-card', 'sogo'), ('sogo-todo', 'sogo/sogo/sogo/sogo-todo.xml', 'sogo-todo', 'sogo'); > > \q export CLASSPATH=$CLASSPATH:/opt/Funambol/tools/tomcat/lib/mysql-connector-java-5.1.15-bin.jar /opt/Funambol/bin/admin-passwd (sa => xxxxxxxxxx) (NDLR : paramétrer databaseUsername et databasePassword dans les fichiers /opt/Funambol/config/sogo/sogo/sogo/sogo-*.xml) /opt/Funambol/bin/funambol start ln -s /opt/Funambol/bin/funambol /etc/init.d/funambol ln -s /etc/init.d/funambol /etc/rc2.d/S20funambol patch -p0 <<EOF --- /opt/Funambol/bin/funambol.orig 2010-11-16 21:24:36.599675745 +0000 +++ /opt/Funambol/bin/funambol 2010-11-16 21:24:45.630909962 +0000 @@ -1,7 +1,6 @@ #!/bin/sh -cd \`dirname \$0\` -FUNAMBOL_HOME=\`(cd .. ; pwd)\` +FUNAMBOL_HOME=/opt/Funambol DS_SERVER_HOME=\$FUNAMBOL_HOME/ds-server if [ ! -d \$FUNAMBOL_HOME/config ]; then EOF -- config apache : ajoutée par NM -- modifier /etc/apache2/conf.d/SOGo.conf en ajoutant ****** # Pour funambol ProxyPass /funambol http://127.0.0.1:8080/funambol retry=1 ProxyPassReverse /funambol http://127.0.0.1:8080/funambol <Proxy http://127.0.0.1:8080/funambol> Order allow,deny Allow from all </Proxy> ******
Installation du client funambol sur un BlackBerry
télécharger le client (funambol_sync_plugin pour BB) ici : https://www.forge.funambol.org/download/#phone
décompresser l'archive et convertir le fichier .jad en .alx (utiliser par exemple l'outil GivemeYourJad sous M$ Windows)
- utiliser le BB Desktop Manager (sous M$ Windows) pour installer l'application :
- choisir l'option "chargeur d'applications"
- ensuite "ajouter-supprimer des applications"
- faire "parcourir" pour retrouver le fichier .alx précédemment créé
- enfin "suivant", "suivant" ... "terminer"
- sur le BB, après l'installation, l'application n'apparait pas dans la liste des appli dispo. L'astuce que j'ai découverte :
- ouvrir une application quelconque
- taper la touche "menu" et choisir "changer d'application", et là on a notre funambol BB sync
la suite : (extrait de la documentation SOGo : http://www.sogo.nu/files/docs/SOGo%20Mobile%20Devices%20Configuration.pdf)
From the Tools menu, choose Options...: ❏ Specify the Location. If your SOGo server is sogo.domain.com, the location should be http://sogo.domain.com/funambol/ds ❏ Specify your username and password ❏ Check the Contacts check box and click on the Details button. The synchronization type is two- way and the Remote name is 'sogo-card'. The data format is vCard. ❏ Check the Calendar check box and click on the Details button. The synchronization type is two- way and the Remote name is 'sogo-cal'. The data format is vCalendar. ❏ Check the Tasks check box and click on the Details button. The synchronization type is two-way and the Remote name is 'sogo-todo'. The data format is SIF. ❏ Save the preferences.
- il ne reste plus qu'à accéder aux menus calendrier et carnet d'adresses.
Installation du client funambol sur Androïd
- à partir du "androïd market" installer funambol sync client
suivre la doc :
- Dans la section "Remote Names", renseigner :
- 'sogo-card' pour le carnet d'adresses
- 'sogo-cal' pour l'agenda
- Dans la section "Remote Names", renseigner :