We chose Linux as the platform for Sakai. The main reason was cost — no licenses for the server OS and the availability of low cost server hardware. We opted for CentOS 5 as the flavour of Linux. It is basically Red Hat Enterprise and has proven to be robust in the past.

CentOS is easy to install. I began with a virtual machine running in VMWare Fusion on my iMac. This allowed me to walk through the install process as a dry run, test out tools and steps, and to roll back if anything broke.

I opted for a 64-bit build of CentOS, so that we could take advantage of large amounts of memory later on if needed.

After installing CentOS using the GUI, the next step was to prepare the system for installing Sakai from source.

To install Sakai 2.5.x from source, we need several things (with caveats):

Out of the box, CentOS has both Java 1.4 and Java 6 installed. Java JDK/JRE 5.0 needs to be downloaded from Sun and installed (Note that Sun Microsystems is withdrawing Java 5.0 as of September 2009, so if you want it, download and archive a copy now).

Installing a new version of Java involved unpacking the distribution in a local directory (e.g. /opt or /usr/local) and the using the “alternatives –install” command to make the system aware of the version and to select it as the default Java version. Use “java -version” to confirm that the correct java version  is selected.

Next: Installing Tomcat 5.5

Powered by ScribeFire.

One Response

  1. Note that newer builds of Sakai (e.g. 2.8) can run on Java 6 (1.6), but Sakai remains incompatible with versions of Tomcat newer than 5.5.

Comments are closed.