Read the installation manual first :-)
Location of installation docs would be :
<your-install-directory>/scalix-9.4.0-community-intel-rh/documentation/*.pdf
It's definitely worth reading it even before you start doing anything. One of the best (simplest) installation manual I would say. The installer seems to be very picky about the Linux distribution. It seemed to work only for their supported list of Linux distros. So to install on CentOS4 distribution, make it look like RHEL4 for the installer. Change the file /etc/redhat-release (obviously!). That's all you need to do! (isn't it nice ;)
So, do the following :
Code: Select all
root# cat /etc/redhat-release
CentOS release 4.1 (Final)
root# mv /etc/redhat-release /etc/redhat-release.orig
root# cp /etc/redhat-release.orig /etc/redhat-release
Edit /etc/redhat-release and make sure it has the following :
----------------------------------------------------------
Red Hat Enterprise Linux ES release 4 (Nahant)
----------------------------------------------------------
Note : The above step is mandatory. Is you do not do that, then the installation will fail saying it's not a supported OS (which seems to be the case)
Make sure you have the right/required space/partition as documented in the installation guide. Though it is recommented not to have the "everything" option selected at CentOS installation time, that's how I did it in my system just to avoid running into any kind of package dependency problems. Again, the installation manual explains clearly on the packages that would be sufficient to install Scalix CE. You may want to consider doing it that way (and let us know that goes)
Download Java1.4.2
Download JDK1.4.2+ from java.sun.com and installed it. I read some posts suggesting not to use JDK1.5 but JDK1.4.2.x instead.
Installation of Java is straight forward.
Code: Select all
root# chmod +x j2sdk-1_4_2_09-linux-i586-rpm.bin
root# ./j2sdk-1_4_2_09-linux-i586-rpm.bin
root# rpm -ivh j2sdk-1_4_2_09-linux-i586.rpm
root# which java
/usr/java/j2sdk1.4.2_09/bin/java
root# java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
Download Tomcat 5.0.28
The reason I downloaded this particular version because this is what was shown in the installation manual's screen shot :) You may want to give a shot with the latest version.
Code: Select all
root# pwd
/root
root# wget http://apache.mirrormax.net/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat-5.0.28.tar.gz
</Pre-requisites>
Download scalix CE (http://www.scalix.com/communityedition/index.html)
File : scalix-9.4.0-community-intel-rh.tar.gz
Code: Select all
root# gunzip scalix-9.4.0-community-intel-rh.tar.gz
root# tar xvf scalix-9.4.0-community-intel-rh.tar
root# cd scalix-9.4.0-community-intel-rh
root# sh ./scalix-installer-community
After a few clicks on continuing the installation, this is how the "Installer log" showed on my system :
-----------------------------------------------------
- Network check passed
- Filesystem check passed
- Java and Tomcat check warning -- No valid Tomcat directory found. You may install Tomcat now or use the Installer in the Config. steps.
- Dependency check passed
- Running services check passed
-----------------------------------------------------
Select the default Mailnode name shown.
Mailnode name : myhostname, mydomainname (enter your hostname and your registered domain name)
It also gives a clear message :
" If you're not sure what a mailnode is or are installing a single scalix server, please accept the default name given here. "
So just go with the default values.
Create Admin User
Username : sxadmin
password : *********
Install Tomcat [ refer page 20 in installation guide]
Source File : /root/jakarta-tomcat-5.0.28.tar.gz
Destination : /root
it will be installed in /root/jakarta-tomcat-5.0.28
Once you complete the installation, you should be able to reach the following URL's but, make sure you enable the popup windows on your browser first!
To log into Scalix Administrator :
http://your-domain-name:8080/sac
A seperate Administration window should pop up.
login : sxadmin
password : ********* [ the one that you mentioned before ]
To use web email client :
http://your-domain-name:8080/webmail
login : sxadmin
password : ********* [ if you still haven't created any new account ]
Gotcha's
This is how I had partitioned my hard drive.
Code: Select all
root# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 12G 1.2G 11G 11% /
none 379M 0 379M 0% /dev/shm
/dev/hda6 9.7G 697M 8.5G 8% /home
/dev/hda2 15G 186M 14G 2% /opt
/dev/hda5 12G 3.7G 7.3G 34% /usr
/dev/hda3 15G 1.4G 13G 11% /var
/dev/hda8 9.8G 427M 9.4G 5% /vfatfs
- I had a seperate "/opt" parition with 14G free space.
- There was an empty "opt" directory inside /var partition (which is "/var/opt")
- I moved the /var/opt to /var/opt.orig directory. (root# mv /var/opt /var/opt.orig)
- Then I created a symbolic link betweem /opt and /var/opt (root# ln -s /var/opt /opt)
- when /var/opt is referred, it actually goes to "/opt", which is a seperate partition
- The intension is to use the free 14GB /opt partition for Scalix
But dont know for what reason, when I sym linked /var/opt to a different partition (with the same name "/opt"), the installation failed and complained that /var/opt is not empty (even in spite of removing the "lost+found" directory). So I went back and removed the symbolic link that I created, moved back /var/opt.orig to /var/opt and when I tried it again, the installation succeeded!
Q1 : Why does the installation expects the directory "opt" to be in the same physical partition where "/var" is present ?
Q2 : Is there any kind of ACL's involved when using a different partition for /var/opt ?
The first time when my installation failed, it mentioned/recommended somewhere to use tomcat-4.1.29. So I downloded and tried to use that at installation time. But when I reached the part as "referred in page 20 in installation guide", it said, I needed a tomcat with version 5.x. So you may want to stick to the same versions that I have used to be on the safer side.
Enjoy :-)
http://blogs.sun.com/Ananda