OS X Install
 

Step 1. Download MailArchiva Server

Download MailArchiva Server for Linux and run the setup on Mac OS X

Step 2 Run the Setup

From the console, execute the following:

 


cd mailarchiva_dist
./install

 

 

MailArchiva will be installed /opt/mailarchiva

Step 3 Configure MailArchiva to use the native OS X Java Runtime

Edit the file startserver in /opt/mailarchiva/server

 

#!/bin/bash
# MailArchiva Enterprise Edition Start Server Script
# Visit http://www.mailarchiva.com for more information on this product
MAILARCHIVA_HOME=/opt/mailarchiva
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
export CATALINA_HOME=$MAILARCHIVA_HOME/server
export JAVA_OPTS="-Dfile.encoding=UTF-8"
export JAVA_ENDORSED_DIRS=$CATALINA_HOME/endorsed
export PATH=$PATH:$JAVA_HOME/bin
export CATALINA_OPTS="-Dversion=enterpriseedition -Xmx4096m -Xms256m -XX:PermSize=128M -XX:MaxPermSize=192M -XX:-UseSplitVerifier"
export CATALINA_PID=$MAILARCHIVA_HOME/mailarchiva.pid
launchctl limit maxfiles 64000 64000
unset DISPLAY
sh $MAILARCHIVA_HOME/server/bin/startup.sh

 

Change the variable JAVA_HOME to point to the location of your version of Java. Please ensure that Java cryptography extension is installed (it is normally by default on Mac OS X).

 

Edit stop server as follows:

 

 

Step 4. Start the server

Run the startserver script as follows:

 

./opt/mailarchiva/server/startserver



 

© 2005 - 2024 ProProfs

Found this information useful? Visit mailarchiva.com to learn more about MailArchiva.

-