[Deploying Sakai] sakai 2.7.0 source installation in ubuntu 10.04.1

Bob Nguyen bobnguyen at dmu.ac.uk
Thu Feb 10 01:55:31 PST 2011

yiorgos <yiorgoskatopodis at ...> writes:

> I have made a small mistake in the list. Please see the bold letters
> root <at>
> cp default.sakai.properties /opt/tomcat/sakai/sakai.properties
> cd
> root <at> ubuntu2011new:~# cd ..
> root <at> ubuntu2011new:/# cd opt/tomcat/sakai
> root <at> ubuntu2011new:/opt/tomcat/sakai# nano sakai.properties
> change this:
> sorry if i confused anyone!!!
> Yiorgos Katopodis


My name is Bob, from the Mechatronic Research Centre, 
De Montfort University, Leicester, UK.

Many thanks for your note. I followed it and Sakai 2.7.1 ran smoothly 
on my PC Windows 7 > VMware Server > Ubuntu 10.10.

Just to contribute that most of the export commands could be store in
 ~/.bash_login, including:

> export JAVA_HOME=/usr/lib/jvm/java-6-sun
> export PATH=$PATH:$JAVA_HOME/bin
> export MAVEN_HOME=/usr
> export PATH=$PATH:$MAVEN_HOME/bin
> export CATALINA_HOME=/opt/tomcat
> export SAKAI_HOME=/opt/tomcat/sakai

Just "nano ~/.bash_login" and type those export commands in then save the 
file, it will be done automatically from your next log in as root. 
And that could save you some minutes.

However, I am not sure about the other two export commands for £MAVEN_OPTS 
and $JAVA_OPTS. From the Sakai Gateway Installation guide, they suggest us 
to export $JAVA_OPTS inside $CATALINA_HOME/bin/setenv.sh but it did not 
work for me. Therefore I still have to type in manually everytime I log in.

> export MAVEN_OPTS='-Xms512m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m'

> export JAVA_OPTS='-server -Xms512m -Xmx1024m -XX:PermSize=128m
> -XX:NewSize=192m -XX:MaxNewSize=384m -Djava.awtECHO.headless=true
> -Dsakai.home=/opt/tomcat/sakai
> -Dorg.apache.jasperRT.compiler.Parser.STRICT_QUOTE_ESCAPING=false

If you know wherether we can put the two export commands for $XXX_OPTS, 
please let me know.

Have a nice day,


More information about the production mailing list