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:
- Install Java v5.0
- Linux AMD64 Platform - J2SE(TM) Development Kit 5.0 Update 11
- Create soft-link /ucd/opt/java5
Installing Maven:
- Install Maven v1.0.2
- Create soft-link /ucd/opt/maven
Install Tomcat: 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
- Request a krb5.keytab file from https://computingaccounts.ucdavis.edu/cgi-bin/kerberos/index.cgi
- Copy requested krb5.keytab file to /etc/krb5.keytab
- Copy attached krb5.conf configuration file to /etc/krb5.conf
- Copy attached jaas.conf configuratin file to /etc/security/jaas.config
Iptables and startup scripts
- Configure iptables, following stubings setup
- Making sure that tomcat is starated after a system reboot, following stubings setup