Open Xchange: Difference between revisions

From Objectif Client Inc
Jump to navigation Jump to search
Line 61: Line 61:
-- by
-- by
<syntaxhighlight lang="bash">  
<syntaxhighlight lang="bash">  
JAVA_XTRAOPTS="-Dsun.net.inetaddr.ttl=3600 -Dnetworkaddress.cache.ttl=3600 -Dnetworkaddress.cache.negative.ttl=10 -Dlogback.threadlocal.put.duplicate=false -server -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:NewRatio=3 -XX:+UseTLAB -XX:+DisableExplicitGC -Dosgi.compatibility.bootdelegation=false -XX:-OmitStackTraceInFastThrow -Xmx1024m"
JAVA_XTRAOPTS="-Dsun.net.inetaddr.ttl=3600 -Dnetworkaddress.cache.ttl=3600 -Dnetworkaddress.cache.negative.ttl=10 -Dlogback.threadlocal.put.duplicate=false -server -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:NewRatio=3 -XX:+UseTLAB -XX:+DisableExplicitGC -Dosgi.compatibility.bootdelegation=false -XX:-OmitStackTraceInFastThrow -Xmx1024m"
</syntaxhighlight>
</syntaxhighlight>



Revision as of 22:39, 26 June 2016

Installation

Web site Open-Xchange

Package Installation

  • Create a file "ox.list" into /etc/apt/sources.list.d/cat
  • Please validate and adjust Ubuntu version on the opensuse.org directory
echo "deb http://download.opensuse.org/repositories/server:/OX:/ox6.22:/frontend/xUbuntu_14.10/ /" > /etc/apt/sources.list.d/ox.list
echo "deb http://download.opensuse.org/repositories/server:/OX:/appsuite:/backend/xUbuntu_14.10/ /" >>  /etc/apt/sources.list.d/ox.list
  • Refresh package list
apt-get update
  • Install packages
 apt-get install open-xchange open-xchange-admin open-xchange-admin-soap open-xchange-authentication-database \
open-xchange-authorization-standard open-xchange-calendar-printing open-xchange-core open-xchange-dav open-xchange-drive open-xchange-freebusy \
open-xchange-grizzly open-xchange-gui open-xchange-gui-l10n open-xchange-gui-l10n-en-us open-xchange-gui-l10n-fr-ca open-xchange-gui-l10n-fr-fr \
open-xchange-gui-lang-fr-ca open-xchange-gui-loading-theme-default open-xchange-gui-login-theme-default \
open-xchange-gui-mail-accounts-plugin open-xchange-gui-mobile-redirect-plugin open-xchange-gui-themes-default \
open-xchange-imap open-xchange-indexing open-xchange-l10n-fr-ca open-xchange-mailfilter open-xchange-manage-group-resource open-xchange-messaging \
open-xchange-mobile-config open-xchange-oauth open-xchange-online-help-fr-fr open-xchange-osgi open-xchange-pop3 open-xchange-publish \
open-xchange-push-mailnotify open-xchange-smtp open-xchange-soap-cxf open-xchange-system open-xchange-themes-default \
open-xchange-unifiedinbox open-xchange-unifiedmail open-xchange-upsell-multiple-gui open-xchange-xerces-sun
  • Add Open-Xchange in the paht
echo PATH=$PATH:/opt/open-xchange/sbin/ >> ~/.bashrc && . ~/.bashrc

Setup

  • Init configuration database
/opt/open-xchange/sbin/initconfigdb --configdb-pass=openxchange_password -a --mysql-root-passwd=root_password


  • Add Basic Configuration
MAX_MEMORY_FOR_JAVAVM=1024
/opt/open-xchange/sbin/oxinstaller --no-license \
--servername=oxserver --configdb-pass=openxchange_password \
--master-pass=admin_master_password --network-listener-host=localhost --servermemory $MAX_MEMORY_FOR_JAVAVM


  • Adjust Mail server properties
vi /opt/open-xchange/etc/mail.properties


  • Restart Open-Xchange Service
service open-xchange restart


  • Since Java8 option MaxPermSize is not supported and you need to remove that option from "/opt/open-xchange/etc/ox-scriptconf.sh"

-- Replace

###Nr001 JAVA_XTRAOPTS="-Dsun.net.inetaddr.ttl=3600 -Dnetworkaddress.cache.ttl=3600 -Dnetworkaddress.cache.negative.ttl=10 -Dlogback.threadlocal.put.duplicate=false -server -Djava.awt.headless=true -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:NewRatio=3 -XX:+UseTLAB -XX:+DisableExplicitGC -Dosgi.compatibility.bootdelegation=false -XX:-OmitStackTraceInFastThrow -Xmx1024m"

-- by

 
JAVA_XTRAOPTS="-Dsun.net.inetaddr.ttl=3600 -Dnetworkaddress.cache.ttl=3600 -Dnetworkaddress.cache.negative.ttl=10 -Dlogback.threadlocal.put.duplicate=false -server -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:NewRatio=3 -XX:+UseTLAB -XX:+DisableExplicitGC -Dosgi.compatibility.bootdelegation=false -XX:-OmitStackTraceInFastThrow -Xmx1024m"


  • Validate if Open-Xchange is runnning
ps -aef | grep open-xchange

or

cat /var/log/open-xchange/open-xchange-console.log
  • Register the local server
/opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P admin_master_password


  • Enable Apache module
a2enmod proxy proxy_http proxy_balancer expires deflate headers rewrite mime setenvif lbmethod_byrequests

Manage Users

Gui Interface

Peter’s OX Admin GUI

Connect with oxadminmaster

Command Line

/opt/open-xchange/sbin/createuser -c 1 -A oxadmin -P admin_password -u testuser -d "Test User" -g Test -s User -p secret -e testuser@example.com --imaplogin testuser --imapserver 127.0.0.1 --smtpserver 127.0.0.1