Template:Oxinstaller: Difference between revisions

From Open-Xchange
No edit summary
No edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''Important:''' You should have your Open-Xchange license code at hand. If you do not plan to license Open-Xchange, you can use the option ''--no-license'' instead. Please also check [[OXReportClient]] documentation for more information about configuring a supported and maintained Open-Xchange server.
'''Important:''' You should have your Open-Xchange license code at hand. If you do not plan to license Open-Xchange, you can use the option ''--no-license'' instead. Please also check [[OXReportClient]] documentation for more information about configuring a supported and maintained Open-Xchange server.
'''Important:''' For MAX_MEMORY_FOR_JAVAVM a rule of thumb for simple installations is half available system memory. The value must be in MB. For example "1024" for 1GB .


  $ /opt/open-xchange/sbin/oxinstaller --add-license=YOUR-OX-LICENSE-CODE \
  $ /opt/open-xchange/sbin/oxinstaller --add-license=YOUR-OX-LICENSE-CODE \
  --servername=oxserver --configdb-pass=db_password \
  --servername=oxserver --configdb-pass=db_password \
  --master-pass=admin_master_password --ajp-bind-port=localhost --servermemory 512
  --master-pass=admin_master_password {{#ifeq: {{{connector}}} | http |--network-listener-host|--ajp-bind-port}}=localhost --servermemory MAX_MEMORY_FOR_JAVAVM
 
'''Note:''' In a clustered setup, <tt>{{#ifeq: {{{connector}}} | http |--network-listener-host|--ajp-bind-port}}</tt> must be set to <tt>*</tt>
 
Now is a good time to configure the way OX will authenticate to your mail server.  Edit the file /opt/open-xchange/etc/mail.properties and change the com.openexchange.mail.loginSource to use.  This is very important for servers that require your full email address to log in with.


'''Note:''' In a clustered setup, <tt>--ajp-bind-port</tt> must be set to <tt>*</tt>
# adjust com.openexchange.mail.loginSource
$ vim /opt/open-xchange/etc/mail.properties

Latest revision as of 14:47, 26 February 2015

Important: You should have your Open-Xchange license code at hand. If you do not plan to license Open-Xchange, you can use the option --no-license instead. Please also check OXReportClient documentation for more information about configuring a supported and maintained Open-Xchange server.

Important: For MAX_MEMORY_FOR_JAVAVM a rule of thumb for simple installations is half available system memory. The value must be in MB. For example "1024" for 1GB .

$ /opt/open-xchange/sbin/oxinstaller --add-license=YOUR-OX-LICENSE-CODE \
--servername=oxserver --configdb-pass=db_password \
--master-pass=admin_master_password --ajp-bind-port=localhost --servermemory MAX_MEMORY_FOR_JAVAVM

Note: In a clustered setup, --ajp-bind-port must be set to *

Now is a good time to configure the way OX will authenticate to your mail server. Edit the file /opt/open-xchange/etc/mail.properties and change the com.openexchange.mail.loginSource to use. This is very important for servers that require your full email address to log in with.

# adjust com.openexchange.mail.loginSource
$ vim /opt/open-xchange/etc/mail.properties