Step 1. Download Архива Server
Download Архива Server for Linux and run the setup on Mac OS X
Step 2 Run the Setup
From the console, execute the following:
Code Block | ||
---|---|---|
| ||
cd mailarchiva_dist
./install
|
Архива will be installed /usr/local/mailarchiva
Step 3 Configure Архива to use the native OS X Java Runtime
Edit the file startserver.sh in /usr/local/mailarchiva/server
Delete...
Code Block | ||
---|---|---|
| ||
"MAILARCHIVA_HOME=$(dirname $0)/..
uname -a | grep -q "x86_64"
RES=$?
if "$RES" = "0" ; then
export JAVA_HOME=$MAILARCHIVA_HOME/jre64
else
export JAVA_HOME=$MAILARCHIVA_HOME/jre
fi" |
and replace with...
Code Block | ||
---|---|---|
| ||
export MAILARCHIVA_HOME=/usr/local/mailarchiva
export JAVA_HOME=/Library/Java/Home
|
Step 4. Start the server
Run the startserver script as follows
Code Block | ||
---|---|---|
| ||
./usr/local/mailarchiva/server/startserver |