UserPreferences

distOXÞbian


How to install OX in a distributed environment

License

Copyright (c) 2005 Andreas Cordes.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

GNU Free Documentation License

The license is [WWW]here.

Legal

I am not responsible of the possible data losses caused by the use of this document ... blablabla ...

This document

This How-To is a documentation for an integration of OX in an existing distributed environment.

Each Service is can be separated on several machines to be independent of all the components. So if you plan to upgrade your database server, just build up a new one, replicate the database and change some parameters. That's it. Yes, I know, sometimes I have some strange dreams.

When you read a bit further, you notice that I don't use the domain example.org. Well, this example is often used and I don't like it. When you import the ldap entries for OX and it is working because of the same domain, you don't know what really happened. So you know what fit together, where the entries have to be the same and so on.

Everyone needs help

If there is anyone who will support me I can send you some more details about the environment and if you wish also an SSH account for a better support.

Or if you have some corrections concerning this How-To and some typos and so on, feel free to tell them to me.

Appreciate your help ;-)

Overview of the environment and needed Software

Technical Environment

IP-Range  : 192.168.117.0 
Domain    : matrix.home
Directory : ldap.matrix.home
Mail      : mail.matrix.home
Web       : web.matrix.home
Database  : database.matrix.home

Software

Directory     : openLDAP 2.2.23
Mail          : Postfix-ldap 2.1.5
IMAP          : Courier-Imap 3.0.8, courier-ldap, courier-authdaemon
Web           : Apache 2.0.53
Servletserver : Tomcat 5.5.9 (JDK 1.5 Update 2)
Database      : postgreSQL 7.4.7
Administration: phpldapadmin, phppgadmin

This installation is based on the [WWW]debian-sarge how-to from Laurent Francoise and many threads in the forum.

Also we use many parts from the [WWW]Hannibal project and try to combine them.

After this way of installation, you have a very secure open-xchange server up and running. Dreams come true :-)

Base system

We use the same base system as in the [WWW]Hannibal project. So please don't install any additional software. No dselect, no virtual package and no task.

May be someone can provide a virtual packagefor this base system? [MAILTO]AndreasCordes

apt-get update
apt-get dist-upgrade -fu

apt-get install ssh less vim hdparm make \
        chkrootkit sudo tcpdump nmap iptraf \
        dsniff dnsutils iproute ntpdate sysstat \
        tcpstat mc file bzip2 links wget rsync \
        lsof xinetd eject screen fping arping \
        ipcalc ngrep traceroute mtr strace \
        ltrace netcat netselect discover

apt-get clean

Order of installation

In order to have a fully functional implementation of all the stuff, we need to have a strict order of the server installation and a strict testing!
  1. Java-Enverment

  2. OpenExchange

  3. Directory-Server

  4. Mail-Server

  5. Database-Server

  6. Web-Server

  7. Tomcat-Server

  8. OpenExchange/Apache/Tomcat-Config

Downloadlinks

Changelog of this document

[MAILTO]AndreasCordes