Modifications entre les versions 11 et 12
Version 11 à la date du 2011-06-10 16:38:08
Taille: 5168
Éditeur: MoussaNombre
Commentaire: android
Version 12 à la date du 2011-06-10 16:40:24
Taille: 5239
Éditeur: MoussaNombre
Commentaire:
Texte supprimé. Texte ajouté.
Ligne 120: Ligne 120:
 1. suivre la [[https://www.forge.funambol.org/servlets/OCNDirector?id=DOCQSANDR|doc]] :  1. suivre la [[https://www.forge.funambol.org/servlets/OCNDirector?id=DOCQSANDR|doc]] : [[attachment:Funambol-android-sync-client-quick-start-guide-v10.0.pdf]]

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

  1. télécharger le client (funambol_sync_plugin pour BB) ici : https://www.forge.funambol.org/download/#phone

  2. décompresser l'archive et convertir le fichier .jad en .alx (utiliser par exemple l'outil GivemeYourJad sous M$ Windows)

  3. utiliser le BB Desktop Manager (sous M$ Windows) pour installer l'application :
    1. choisir l'option "chargeur d'applications"
    2. ensuite "ajouter-supprimer des applications"
    3. faire "parcourir" pour retrouver le fichier .alx précédemment créé
    4. enfin "suivant", "suivant" ... "terminer"
  4. 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 :
    1. ouvrir une application quelconque
    2. taper la touche "menu" et choisir "changer d'application", et là on a notre funambol BB sync
  5. 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.
  6. il ne reste plus qu'à accéder aux menus calendrier et carnet d'adresses.

Installation du client funambol sur Androïd

  1. à partir du "androïd market" installer funambol sync client
  2. suivre la doc : Funambol-android-sync-client-quick-start-guide-v10.0.pdf

    • Dans la section "Remote Names", renseigner :
      • 'sogo-card' pour le carnet d'adresses
      • 'sogo-cal' pour l'agenda

Projet/SOGo/ProcédureInstallationFunambol (dernière édition le 2012-01-11 16:12:18 par MoussaNombre)