1 #LyX 1.4.4 created this file. For more info see http://www.lyx.org/
13 \paperfontsize default
20 \paperorientation portrait
23 \paragraph_separation indent
25 \quotes_language english
28 \paperpagestyle default
29 \tracking_changes false
36 Funambol DS Server installation guide for the GroupDAV Connector
43 \begin_layout Standard
44 This article discusses installing the Funambol Device Sync server and the
45 GroupDAV connector module, over a Tomcat 5 application server install.
46 A level of knowledge with a Unix-like OS is assumed.
50 \begin_layout Subsubsection
51 Useful outside documentation
55 Funambol provides a set of documentation for all aspects of the DS server,
56 which may be downloaded at
57 \begin_inset LatexCommand \url{http://www.funambol.com/opensource/documentation/documents.html}
65 Several install guides are available at the
66 \begin_inset LatexCommand \url{http://docs.opengroupware.org/search?SearchableText=Funambol}
73 \begin_layout Subsubsection
83 \begin_inset LatexCommand \url{http://tomcat.apache.org/download-55.cgi#5.0.30-beta}
91 HSQLDB database - in particular hsqldb.jar
92 \begin_inset LatexCommand \url{http://sourceforge.net/project/showfiles.php?group_id=23316&package_id=16653&release_id=339171}
100 Funambol DS Server 5.0.10 archive
101 \begin_inset LatexCommand \url{http://www.funambol.com/opensource/download_form.html?file_id=funambol-ds-server-5.0.10.zip}
108 \begin_layout Itemize
109 From the download directory for the connector version
110 \begin_inset LatexCommand \url{http://comalies.citadel.org/~matt/funambol/latest/}
115 \begin_inset LatexCommand \url{http://latest.bionicmessage.net}
123 \begin_layout Itemize
124 GroupDAV Funambol s4j (groupdav-1.x.xxxx.s4j)
127 \begin_layout Itemize
131 \begin_layout Itemize
136 \begin_layout Itemize
137 Funambol Administration Tool 3.0.9
138 \begin_inset LatexCommand \url{http://www.funambol.com/opensource/download_form.html?file_id=funambol-admin-3.0.9.tgz}
145 \begin_layout Itemize
150 of all, you will need a Java 5 Development Kit, obtainable from
151 \begin_inset LatexCommand \url{http://java.sun.com}
156 IBM's developer kits also work.
159 \begin_layout Section
163 \begin_layout Standard
164 Tomcat 5 does not need any installation, merely untarring.
167 \begin_layout Itemize
171 \begin_layout Standard
175 texttt{tar -zxvf jakarta-tomcat-5.0.30.tar.gz}
183 \begin_layout Itemize
184 Take note of the location you install Tomcat to.
187 \begin_layout Section
191 \begin_layout Standard
192 HSQLDB is the database this tutorial will be using for Funambol, however,
193 if you wish to use another database, follow the instructions in Funambol's
197 \begin_layout Itemize
198 Create a directory on your system.
199 HSQLDB is in <hsqldb.zip</lib/hsqldb.jar.
200 Copy the jar into this directory.
204 \begin_layout Itemize
205 Then, fire up your favorite text editor and create a script:
208 \begin_layout Itemize
212 \begin_layout Standard
219 \begin_layout Standard
223 texttt{java -classpath hsqldb.jar org.hsqldb.Server -database.0 fnbl -dbname.0
232 \begin_layout Itemize
233 Save it and make the file executable.
234 Next, run the script to start HSQLDB.
235 (you may want to execute it in screen or create an init script)
238 \begin_layout Section
242 \begin_layout Standard
243 Unzip the Funambol archive and move its contents to a permanent place on
245 The files will be extracted to
249 \begin_layout Standard
253 texttt{Funambol/ds-server}
259 The instructions below are relative to
263 \begin_layout Standard
272 Then open up a terminal and export the following variables:
275 \begin_layout Itemize
276 export JAVA_HOME=<location_of_your_java_jdk>
279 \begin_layout Itemize
280 export J2EE_HOME=<location_of_tomcat>
283 \begin_layout Itemize
284 (Suggestion: save the exports as a shell script so you can source them when
288 \begin_layout Itemize
293 \begin_layout Standard
297 texttt{groupdav-1.x.xxxx.s4j}
306 \begin_layout Standard
322 \begin_layout Itemize
327 \begin_layout Standard
331 texttt{gdav_libs.tar.bz2}
336 and copy the jar files in it to
340 \begin_layout Standard
356 \begin_layout Itemize
361 \begin_layout Standard
365 texttt{install.properties}
370 and start by changing the
374 \begin_layout Standard
378 texttt{dbms=postgresql}
387 \begin_layout Standard
391 texttt{dmbs=hypersonic}
399 \begin_layout Itemize
400 Scroll down to the bottom and replace the postgresql defaults with:
404 \begin_layout Itemize
408 \begin_layout Standard
412 texttt{jdbc.classpath=
419 \begin_layout Standard
423 texttt{jdbc.driver=org.hsqldb.jdbcDriver}
426 \begin_layout Standard
430 texttt{jdbc.url=jdbc:hsqldb:hsql://localhost/fnbl
433 \begin_layout Standard
440 \begin_layout Standard
444 texttt{jdbc.password=}
453 \begin_layout Itemize
454 Just below the SQL configuration there is a
458 \begin_layout Standard
462 texttt{modules-to-install}
468 \begin_inset Quotes erd
475 \begin_layout Itemize
479 \begin_layout Standard
483 texttt{modules-to-install=foundation-3.0.9,pdi-3.0.5,pimweb-3.0.8,funambol-db-3.0.7}
491 \begin_layout Itemize
495 \begin_layout Standard
499 texttt{modules-to-install=foundation-3.0.9,pdi-3.0.5,pimweb-3.0.8,funambol-db-3.0.7,grou
509 \begin_layout Itemize
510 Next, make the install scripts
514 \begin_layout Standard
518 texttt{bin/install.sh, bin/install-modules.sh}
523 executable, and install Funambol:
527 \begin_layout Itemize
531 \begin_layout Standard
535 texttt{chmod +x bin/install.sh}
538 \begin_layout Standard
542 texttt{chmod +x bin/install-modules.sh}
545 \begin_layout Standard
549 texttt{bin/install.sh tomcat50}
558 \begin_layout Itemize
559 The script will ask you if you wish to replace the database for each module.
567 \begin_layout Standard
572 If you already have services running on port 8080, edit the tomcat config
577 \begin_layout Standard
581 texttt{<tomcat>/conf/server.xml}
589 \begin_layout Standard
590 Funambol can now be started by:
593 \begin_layout Standard
597 \begin_layout Standard