Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

Installing Scalix 11 on Centos 4.4

E-mail Print PDF

Scalix 11 is the latest groupware and messaging system from Scalix Corporation.

We feel Scalix offers a viable, enterprise level alternative to Microsoft Exchange.  The Community Edition is free and includes an Outlook connector for up to 25 users. 

Reference

Scalix Release Notes

Scalix 11 Installation Guide

Scalix Setup and Configuration Guide

Scalix Administration Guide

All Scalix Documentation

Another Howto (includes CLAMAV and SpamAssassin)

Upgrading

Upgrading from Scalix 10 to Scalix 11 on the same or new hardware is easy.

  • Have a good backup of /var/opt/scalix.
  • Install a fresh host Linux OS.
  • Create a user and group 'scalix'.
  • Restore your backup of /var/opt/scalix in a way that permissions are restored too.
  • See the Install Scalix 11 section below.
  • Run 'sxmkindex' and 'omtidyallu -M' after the upgrade

Install Centos 4.4 Host OS (or VM)

  • Install from the single-CD ServerCD, if available.
  • Perform a minimal install.  No GUI needed.
  • Do not enable selinux (or you can set it to 'warn').
  • Do not enable the firewall (or do so and manage it yourself). 

Prepare the Host OS 

Configure networking:

setup

Configure the hostname:

vi /etc/sysconfig/network

Reboot the server:

reboot

Update the server: 

yum update

Install some prerequisites: 

yum install postgresql-server sendmail-cf compat-libstdc++-296 httpd

Coerce the installer to install on Centos as if it were Red Hat Enterprise Linux: 

vi  /etc/redhat-release

Change it to exactly this: 

Red Hat Enterprise Linux ES release 4 (Nahant)

We need the DNS name for the Scalix server to resolve, including the reverse.  You will need to talk to your IP provider (ISP) to configure the reverse.  For this installation to proceed, we need the Scalix hos name to be entered in the /etc/hosts file.  Substitute your Scalix server's host name. 

Modify the /etc/hosts file: 

vi /etc/hosts

Add this: 

192.168.2.3             host.yourdomain.tld     host

Disable as many unnecessary services (processes) as possible with the following commands:

chkconfig acpid off
chkconfig atd off
chkconfig autofs off
chkconfig cpuspeed off
chkconfig cups off
chkconfig cups-config-daemon off
chkconfig gpm off
chkconfig haldaemon off
chkconfig isdn off
chkconfig mdmonitor off
chkconfig messagebus off
chkconfig netfs off
chkconfig nfslock off
chkconfig openibd off
chkconfig pcmcia off
chkconfig portmap off
chkconfig rawdevices off
chkconfig rpcgssd off
chkconfig rpcidmapd off
chkconfig smartd off
chkconfig xinetd off

You can turn off "microcode_ctl" if this is an AMD machine, and "irqbalance" if there is only one CPU. If you plan on using plug and play devices you should leave "haldaemon" and "messagebus" running.

Make sure these services start at boot time:

chkconfig postgresql on
chkconfig httpd on

Upgrading 

If you are upgrading an existing installation or if you are moving an installation to new hardware, we need to make sure the user 'scalix' and the group 'scalix' exist with the same UID and GID as on the previous Linux installation.

Here we recreate the scalix user and group as on the original Scalix server so that when we restore the /var/opt/scalix folder, all the permissions will be OK.  Your user and group numbers may be different so you need to check the original server.  Check the /var/opt/scalix dir permissions as well as the subdirectories. 

groupadd -g 101 scalix
useradd -d /var/opt/scalix -u 100 -g101 -s /bin/true -c "Scalix User" scalix

Restore the /var/opt/scalix folder now in a way that retains the preexisting permissions.  These instructions worked for me when restoring from a zip file that contained only a 'scalix' folder.  YMMV

cd /var/opt
unzip /path/to/restore.zip

You will also need to stop the Scalix services before running the installation:

/etc/init.d/scalix stop
/etc/init.d/scalix-postgres stop
/etc/init.d/scalix-tomcat stop

Install Scalix 11 

Download the latest release of Scalix 11 and extract the tarball: 

cd ~
tar -xzvf /path/to/scalix.tgz

Start the installer in text mode: 

./scalix-installer --cli

Post-Instalation

If you have upgraded, don't forget to run these commands:

omtidyallu -M; sxmkindex 

Redirect to /webmail

Normally, you log on to the SWA via http://www.mydomain.com/webmail.  If you  try http://www.mydomain.com it takes you to the default Apache welcome page.

To redirect the default to /webmail, create (edit) the file /var/www/html/index.html.  Inside that file, have this, and only this line:

<META HTTP-EQUIV="Refresh" CONTENT="0; URL=/webmail/">

You may have to shift-click (or control-click) the refresh button in your browser to get the cached test page to refresh properly.

Last Updated on Sunday, 06 July 2008 18:19  

Your external IP

You are connecting to this site from: 38.107.179.243

Secure Client Login

Email Address:

Password: