PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Scalix Mailserver installieren



brave_snoopy
16.05.06, 13:17
Hi,
ich versuche den Scalix Mail Server zu installieren. Vielleicht kennt den ja jemand.
Ansich ist die installation für Debian gedacht, doch da Ubuntu auf Debian basiert und alle Pakete bis jetzt erfolgreich installiert wurden klappt es wunderbar. Nur habe ich jetzt ein Problem mit dem Java JRE und dem Tomcat Server.

Den Apache2 hab ich laufen was auch kein Problem ist.
habe das rpm von der Sun Seite geladen(JRE 1.5) und es dann mit alien installiert.

Pfad ist /usr/java/jre_1.5.../

so das gleiche mit dem Tomcat server. Diesen habe ich nach /opt in das Verzeichniss scalix-tomcat entpackt.

Jetzt steht in der Anleitung:



* Apache Tomcat
Scalix requires an Apache Tomcat Application server of version 5.0.28. This is available from the Apache Tomcat project. For installation, you should just untar this under /opt (as /opt/jakarta-tomcat-5.0.28). You should then create a symbolic link called /opt/scalix-tomcat. You will then need to make some modifications to the system as detailed below.
Note: Scalix plans to provide customized Tomcat packages in both rpm and deb formats in the near future.

*
o Because we're using Java 1.5, you will need to remove one of the library files that ship with Tomcat 5.0:

rm /opt/scalix-tomcat/common/endorsed/xml-apis.jar

*
o Add the following lines to the beginning of your /opt/scalix-tomcat/bin/setclasspath.sh file:

PATH=$PATH:/opt/scalix/bin

JAVA_HOME=/usr/local/lib/jre # Make this /usr/local/lib/jdk when using a JDK

JAVA_OPTS="-server -Xms128m -Xmx128m" # Make this 1/2 your RAM or 512 whichever is less

export JAVA_HOME JAVA_OPTS

o When using a JRE as opposed to a JDK, change the line reading

if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/jdb -o ! -x "$JAVA_HOME"/bin/javac ]; then

to

if [ ! -x "$JAVA_HOME"/bin/java ]; then



so doch ich habe kein jre oder sowas in der art im ganzen Verzeichniss. Auch nicht im lib Verzeichniss. Was wollen die jetzt von mir? Oder soll ich da die java Datei angeben?

Würd mich freuen, wenn jemand mir helfen kann.

Die Anleitung findet ihr hier (http://www.scalix.com/wiki/index.php?title=Scalix_CE_Raw/Installation)

nachtrag:
ich habe jetzt bei JAVA_HOME folgendes eingetragen:

JAVA_HOME=/usr/java/jre1.5.0_06/bin/java

doch wenn ich später den tomcat starten möchte, bekomm ich folgende Meldung:
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOMEshould point to a JDK not a JRE..

Ja wie jetzt, braucht der nen JDK ?
Das heißt ich muss das JAVA SDK mit 130 MB runterladen und installieren?