cd /tmp/open-xchange-gui
export CLASSPATH=/opt/open-xchange/lib/saxon8.jar
export ANT_OPTS="-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl"
apt-get install ant-optional
& ant -Dlib.dir=/opt/open-xchange/lib/ -lib /opt/open-xchange/lib deploy
open exchange on debian etch
Dienstag, 19. Juni 2007
gui
cvs -d :pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-gui
database setup
/opt/open-xchange/sbin/oxinstaller --oxdb-pass=some_pass --admin-pass=some_pass --maildomain example.com
compile ox
/home/install/ox/open-xchange# ant
Buildfile: build.xml
prepare:
patchVersionJava:
[copy] Copying 1 file to /home/install/ox/open-xchange/src/com/openexchange/server
compile:
[javac] Compiling 983 source files to /home/install/ox/open-xchange/build
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
jar:
[jar] Building jar: /home/install/ox/open-xchange/lib/ox_server.jar
check-msgfmt-executable:
show-missing-msgfmt:
create-lang-jar:
[jar] Building jar: /home/install/ox/open-xchange/lib/ox_languages.jar
build:
installJars:
[copy] Copying 2 files to /opt/open-xchange/lib
patchConfig:
[mkdir] Created dir: /home/install/ox/open-xchange/tmp/conf/groupware
[copy] Copying 25 files to /home/install/ox/open-xchange/tmp/conf/groupware
patchConfigFiles:
patchFileLoggingProperties:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/conf/groupware
patchScriptConf:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/conf/groupware
patchSessiondProperties:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/conf/groupware
patchSystemProperties:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/conf/groupware
installConfig:
[mkdir] Created dir: /opt/open-xchange/etc/groupware
[copy] Copying 24 files to /opt/open-xchange/etc/groupware
patchScripts:
[mkdir] Created dir: /home/install/ox/open-xchange/tmp/sbin
[copy] Copying 2 files to /home/install/ox/open-xchange/tmp/sbin
patchBinFiles:
patchConsistencyStart:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/sbin
patchGroupwareStart:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/sbin
installScripts:
[copy] Copying 1 file to /opt/open-xchange/etc/groupware
[copy] Copying 2 files to /opt/open-xchange/sbin
[copy] Copying 2 files to /home/install/ox/open-xchange
[chmod] Skipping fileset for directory /etc/init.d. It is empty.
installExceptJars:
[mkdir] Created dir: /var/log/open-xchange
install:
default:
BUILD SUCCESSFUL
Total time: 14 seconds
then do a
Buildfile: build.xml
prepare:
patchVersionJava:
[copy] Copying 1 file to /home/install/ox/open-xchange/src/com/openexchange/server
compile:
[javac] Compiling 983 source files to /home/install/ox/open-xchange/build
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
jar:
[jar] Building jar: /home/install/ox/open-xchange/lib/ox_server.jar
check-msgfmt-executable:
show-missing-msgfmt:
create-lang-jar:
[jar] Building jar: /home/install/ox/open-xchange/lib/ox_languages.jar
build:
installJars:
[copy] Copying 2 files to /opt/open-xchange/lib
patchConfig:
[mkdir] Created dir: /home/install/ox/open-xchange/tmp/conf/groupware
[copy] Copying 25 files to /home/install/ox/open-xchange/tmp/conf/groupware
patchConfigFiles:
patchFileLoggingProperties:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/conf/groupware
patchScriptConf:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/conf/groupware
patchSessiondProperties:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/conf/groupware
patchSystemProperties:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/conf/groupware
installConfig:
[mkdir] Created dir: /opt/open-xchange/etc/groupware
[copy] Copying 24 files to /opt/open-xchange/etc/groupware
patchScripts:
[mkdir] Created dir: /home/install/ox/open-xchange/tmp/sbin
[copy] Copying 2 files to /home/install/ox/open-xchange/tmp/sbin
patchBinFiles:
patchConsistencyStart:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/sbin
patchGroupwareStart:
[move] Moving 1 file to /home/install/ox/open-xchange/tmp/sbin
installScripts:
[copy] Copying 1 file to /opt/open-xchange/etc/groupware
[copy] Copying 2 files to /opt/open-xchange/sbin
[copy] Copying 2 files to /home/install/ox/open-xchange
[chmod] Skipping fileset for directory /etc/init.d. It is empty.
installExceptJars:
[mkdir] Created dir: /var/log/open-xchange
install:
default:
BUILD SUCCESSFUL
Total time: 14 seconds
then do a
/home/install/ox/open-xchange# addgroup --system open-xchange
/home/install/ox/open-xchange# adduser --system --home /opt/open-xchange --no-create-home --disabled-password --ingroup open-xchange open-xchange
/home/install/ox/open-xchange# chmod 750 /var/log/open-xchange
/home/install/ox/open-xchange# chown open-xchange: /var/log/open-xchange/etc/libapache-mod-jk/workers.properties
vi /etc/libapache-mod-jk/workers.properties
please change
workers.java_home=/usr/lib/j2sdk1.4-sun
to
workers.java_home=/usr/lib/usr/lib/jvm/java-1.5.0-sun
please change
workers.java_home=/usr/lib/j2sdk1.4-sun
to
workers.java_home=/usr/lib/usr/lib/jvm/java-1.5.0-sun
/etc/apache2/conf.d/ox.conf
creat /etc/apache2/conf.d/ox.conf and add
# Where to find workers.properties. We will create this file later in the tutorial.
JkWorkersFile /etc/apache2/workers.properties
# Where to put jk logs.
JkLogFile /var/log/apache2/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel error
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# This points to our servlets we install later
JkMount /ajax/* ajp13_worker
JkMount /servlet/* ajp13_worker
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
add
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
to /etc/profile
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
to /etc/profile
download stuff for java and store in \opt\open-exchange\ib
| Library name | jar file name | Url |
|---|---|---|
| Java Servlet Library | jsdk.jar | http://java.sun.com/products/servlet/download.html Download the specification 2.3 Final Release class files. After download rename the zip file to jsdk.jar. |
| Java MySQL library | mysql-connector-java-3.1.13-bin.jar | http://www.mysql.com/products/connector/j/ the jar file is part of the tar.gz, just extract |
| Java Mail | mail.jar | http://java.sun.com/products/javamail/ |
| Java Activation | activation.jar | http://java.sun.com/products/javabeans/jaf/downloads/index.html |
| JDOM | jdom.jar | http://www.jdom.org/ needs to be compiled on the box by executing ./build.sh and then the jar hast to be copied from jdom/build directory |
| Java Caching System | jcs-1.2.7.9.2.jar | http://jakarta.apache.org/jcs/ |
| util.concurrent | concurrent.jar | http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html need to download build.xml on the same page and create the jar on linux |
| Jakarta Commons Logging | commons-logging.jar | http://jakarta.apache.org/commons/logging/guide.html |
| JSON in Java | json.jar | as of 24.04.2007 you need to checkout the modified version here: cvs -d :pserver:anonymous@www.open-xchange.com:/var/lib/cvs co json-jdk15 You'll have to build the jar yourself. |
| Jakarta Commons File Upload | commons-fileupload.jar | http://jakarta.apache.org/commons/fileupload/ |
| Apache Commons IO | commons-io.jar | http://jakarta.apache.org/commons/io/ Make sure to name the file commons-io.jar without a version number |
| Jakarta Slide | jakarta-slide-webdavlib-2.1.jar | http://jakarta.apache.org/site/downloads/downloads_slide.cgi |
| Jakarta Commons HTTP CLient | commons-httpclient-2.0.2.jar | http://jakarta.apache.org/commons/httpclient/ |
| Java TNEF v1.3.1 | tnef.jar | http://www.freeutils.net/source/jtnef/ |
| JUnit | junit-4.1.jar | http://sourceforge.net/projects/junit |
| Eclipse equinox | org.eclipse.osgi_3.2.1.R32x_v20060919.jar | http://download.eclipse.org/eclipse/equinox/drops/R-3.2.1-200609210945/index.php |
| Jakarta Commons CLI | commons-cli-1.0.jar | http://jakarta.apache.org/commons/cli/ |
If your files have different names (version numbers may be different) than those above you should rename the files or rename the file references later in the Open-Xchange build scripts (build.xml) typically located in the /tmp/open-xchange-* folders.
Abonnieren
Posts (Atom)
Blog-Archiv
-
▼
2007
(18)
-
▼
Juni
(18)
- debian 4 installation
- apt - sources list updates
- Java installation
- mysql 5 installation
- apache 2 installation
- libapache-mod-jk installation
- cyrus imap installation
- gettext installation
- Testings for JAVA
- ant installation
- create open-exchange directory
- download stuff for java and store in \opt\open-exc...
- export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
- /etc/apache2/conf.d/ox.conf
- /etc/libapache-mod-jk/workers.properties
- compile ox
- database setup
- gui
-
▼
Juni
(18)