installations-anleitung: http://download.forge.objectweb.org/sync4j/funambol-v7-installation-and-configuration-guide.pdf
wget http://download.forge.objectweb.org/sync4j/funambol-7.0.6.bin
chmod 744 funambol-7.0.6.bin
./funambol-7.0.6.bin
Lizenz akzeptieren
entpacken in /opt (default-wert)
start? yes
autostart
---------
cp /opt/Funambol/bin/funambol /etc/init.d/
vi /etc/init.d/funambol
FUNAMBOL_HOME=`(cd .. ; pwd)` ersetzen durch FUNAMBOL_HOME=`(cd /opt/Funambol ; pwd)`
ln -s /etc/init.d/funambol /etc/rc3.d/S30funambol
problem: 64bit geht nicht mit jvm
---------------------------------
apt-get install sun-java6-bin
files öffnen:
/opt/Funambol/bin/admin-passwd
/opt/Funambol/bin/ctp-server
/opt/Funambol/bin/encrypt-passwords
/opt/Funambol/bin/funambol
/opt/Funambol/bin/funambol-server
/opt/Funambol/bin/hypersonic
/opt/Funambol/bin/inbox-listener
/opt/Funambol/bin/install
/opt/Funambol/bin/install-modules
/opt/Funambol/bin/pim-listener
/opt/Funambol/bin/wbxml-to-xml
/opt/Funambol/bin/xml-to-wbxml
nach folgendem string suchen:
$FUNAMBOL_HOME/tools/jre-1.5.0/jre
und ersetzen durch
/usr/lib/jvm/java-6-sun-1.6.0.07/jre
mysql als db einbinden
----------------------
mysql-connector-java-5.0.5.jar in den ordner /opt/Funambol/tools/tomcat/common/lib/ kopieren
file öffnen:
/opt/Funambol/tools/tomcat/conf/Catalina/localhost/funambol.xml
abschnitt (in xml root-element) einfügen
<Resource name="jdbc/fnblds" auth="Container"
type="javax.sql.DataSource"
username="funambol" password="fun4mb0l"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/funambol" />
file öffnen:
/opt/Funambol/ds-server/install.properties
WICHTIG:
die datenbank muss erstellt sein, darf aber keinen inhalt haben, sonst gibt crash
inhalt:
#
# The server URI
#
# This parameter is optional: if empty the server will use the
# client request uri
#
server-uri=
# The context path to use to access SyncServer
context-path=/funambol
#
# The DBMS name
#
dbms=mysql
# MySQL
# =====
#
jdbc.classpath=/opt/Funambol/tools/tomcat/common/lib/mysql-connector-java-5.0.5.jar
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost/funambol?characterEncoding=UTF-8
jdbc.user=funambol
jdbc.password=fun4mb0l
#
# Modules definitions
#
modules-to-install=content-provider-7.0.3,email-connector-7.0.6,foundation-7.0.6,phones-support-7.0.4,webdemo-7.0.6
-------------------------
ausführen:
/opt/Funambol/bin/install
jeweils y eingeben