Sakai Installation Preparation For New Server

The following are install instructions to prepare either a "Single Sakai Application Server" or a "Sakai Application Cluster Node" that is part of the Sakai clustered setup

Create sakai user:

  • sakai user's home directory is at: /ucd/opt/sakai

Installing Java:

Installing Maven:

Install Tomcat: (warning) only for single Sakai application server

  • Tomcat v5.5.26
  • Create soft-link /ucd/opt/tomcat
  • sakai user needs to have "rw" access to tomcat

Setup environment variables

  • Java 5.0
    • setenv JAVA_HOME5 /ucd/opt/java5
  • Mavne v1.0.2
    • setenv MAVEN_HOME /ucd/opt/maven
  • Tomcat 5.5.26
    • setenv CATALINA_HOME /ucd/opt/tomcat
  • PATH needs to include the following
    • /ucd/opt/java/bin
    • /ucd/opt/maven/bin

Initialize maven repository:

  • (NOTE: do this as the sakai user)
  • install_repo.sh /ucd/opt/sakai/.maven/repository

Installing Subversion

  • Install the latest available subversion version

Install AFS client

  • Mount sakai AFS volumes

Create directories and soft-links and make sure that the sakai user has "rw" access

  • For Single Sakai Application Server non AFS
    • /var/meleteDocs -> /local/d02/meleteDocs
    • /var/melete -> /local/d02/melete
    • /var/uploads -> /local/d02/uploads
    • /var/sakai -> /local/d02/sakai
    • /var/samigo -> /local/d02/samigo
  • For Single Sakai Application Server using test AFS volumes
    • /var/meleteDocs -> /afs/.ucdavis.edu/app/sakai-test/misc/melete/smartsite/meleteDocs
    • /var/melete -> /afs/.ucdavis.edu/app/sakai-test/misc/melete/smartsite/melete
    • /var/uploads -> /afs/.ucdavis.edu/app/sakai-test/misc/melete/smartsite/uploads
    • /var/sakai/archive -> /afs/.ucdavis.edu/app/sakai-test/misc/archive/smartsite
    • /var/sakai/content -> /afs/.ucdavis.edu/app/sakai-test/misc/content/smartsite
    • /var/sakai/ucd-data -> /afs/.ucdavis.edu/app/sakai-test/misc/ucd-data/smartsite
    • /var/samigo -> /afs/.ucdavis.edu/app/sakai-test/misc/samigo/smartsite
  • For Single Sakai Application Server using production AFS volumes
    • /var/meleteDocs -> /afs/.ucdavis.edu/app/sakai/misc/melete/smartsite/meleteDocs
    • /var/melete -> /afs/.ucdavis.edu/app/sakai/misc/melete/smartsite/melete
    • /var/uploads -> /afs/.ucdavis.edu/app/sakai/misc/melete/smartsite/uploads
    • /var/sakai/archive -> /afs/.ucdavis.edu/app/sakai/misc/archive/smartsite
    • /var/sakai/content -> /afs/.ucdavis.edu/app/sakai/misc/content/smartsite
    • /var/sakai/ucd-data -> /afs/.ucdavis.edu/app/sakai/misc/ucd-data/smartsite
    • /var/samigo -> /afs/.ucdavis.edu/app/sakai/misc/samigo/smartsite
  • For Sakai Application Cluster Node using production AFS volumes
    • /var/meleteDocs -> /afs/.ucdavis.edu/app/sakai/misc/melete/smartsite/meleteDocs
    • /var/melete -> /afs/.ucdavis.edu/app/sakai/misc/melete/smartsite/melete
    • /var/uploads -> /afs/.ucdavis.edu/app/sakai/misc/melete/smartsite/uploads
    • /var/sakai/archive -> /afs/.ucdavis.edu/app/sakai/misc/archive/smartsite
    • /var/sakai/content -> /afs/.ucdavis.edu/app/sakai/misc/content/smartsite
    • /var/sakai/ucd-data -> /afs/.ucdavis.edu/app/sakai/misc/ucd-data/smartsite
    • /var/samigo -> /afs/.ucdavis.edu/app/sakai/misc/samigo/smartsite

DistAuth/Kerberos setup

Iptables and startup scripts

  • Configure iptables, following stubings setup
  • Making sure that tomcat is starated after a system reboot, following stubings setup