Template:Oxinstaller: Difference between revisions

From Open-Xchange
No edit summary
No edit summary
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. For production environments please consult our {{DocLink|docpath=whitepaper/OX6-Sizing-Whitepaper.pdf|name=Sizing Whitepaper}}.
'''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 . For production environments please consult our {{DocLink|docpath=whitepaper/OX6-Sizing-Whitepaper.pdf|name=Sizing Whitepaper}}.


  $ /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 {{#ifeq: {{{connector}}} | http |--network-listener-host|--ajp-bind-port}}=localhost --servermemory MAX_MEMORY_FOR_JAVAVM_IN_MB
  --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>
'''Note:''' In a clustered setup, <tt>{{#ifeq: {{{connector}}} | http |--network-listener-host|--ajp-bind-port}}</tt> must be set to <tt>*</tt>

Revision as of 11:15, 10 February 2014

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 . For production environments please consult our Sizing Whitepaper.

$ /opt/open-xchange/sbin/oxinstaller --add-license=YOUR-OX-LICENSE-CODE \
--servername=oxserver --configdb-pass=db_password \
--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, {{#ifeq: {{{connector}}} | http |--network-listener-host|--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