[Using Sakai] sakai 2.7 installation help needed

Anthony Whyte arwhyte at umich.edu
Wed Nov 10 01:01:56 PST 2010


STEP 4.  Your setenv.sh includes several duplicate entries.  Perhaps it's a cut-and-paste error but please double check:

Here is an example JAVA_OPTS that includes the optional -Dsakai.demo=true that adds test course data:

export JAVA_OPTS='-server -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m -XX:NewSize=192m -XX:MaxNewSize=384m -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dhttp.agent=Sakai -Dsakai.demo=true -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dsun.lang.ClassLoader.allowArraySyntax=true'

STEP 6.  Good practice but strictly speaking all you've done at this point is set yourself up with a sakai.properties file that, as an exact copy of default.sakai.properties, overrides no default settings.  The fun truly starts when you begin to modify the defaults for local usage.

STEPS 7-8.  Per the bin instructions you download the archive into $CATALINA_HOME and unpack the archive. Then you start up Tomcat by running the Tomcat startup script in $CATALINA_HOME/bin.  

Unfortunately, the location that you specified unpacking sakai-bin-2.7.1 into is incorrect.

So delete this folder: CATALINA_HOME/webapps/sakai-bin.  Download or copy sakai-bin-2.7.1.tgz into $CATALINA_HOME.  Then unpack:

cd $CATALINA_HOME
tar -xzvf sakai-bin-2.7.1.tgz

Unpacking the *.tgz will put Sakai artifacts in the following folders:

$CATALINA_HOME
		/webapps  (Sakai *.war files)
		/shared/lib  (Sakai api and help jars)
		/components (Sakai packaged components, e.g., Spring configuration files and tool/service impl jars)

Start up Tomcat by running

$CATALINA_HOME/bin/startup.sh

Shutdown Tomcat by running

$CATALINA_HOME/bin/startup.sh

To watch the progress of Sakai starting up in Tomcat open a second terminal window, change directories to

$CATALINA_HOME/logs

then enter

tail -f catalina.out


Cheers,

Anthony





On Nov 10, 2010, at 7:54 AM, Tapas Mishra wrote:

> I downloaded sakai 2.7 binary as follows
> wget http://source.sakaiproject.org/release/2.7.1/artifacts/sakai-bin-2.7.1.tgz
> and Tomcat 5.5 from here
> http://tomcat.apache.org/download-55.cgi
> and in folder
> apache-tomcat-5.5.31
> based on instructions here
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+%282.7%29
> I verified following things
> 1) java -version
> java version "1.6.0_20"
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
> 
> 2) echo $JAVA_HOME
> /usr/lib/jvm/java-6-sun-1.6.0.20
> 
> 3)echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.20/bin:/opt/apache-tomcat-5.5.31/bin
> 
> 4) In Tomcat/bin there I created a file setenv.sh and it has following contents
> 
> export JAVA_OPTS='-server -Xms512m -Xmx1024m -XX:PermSize=128m
> -XX:MaxPermSize=512m -XX:NewSize=192m -XX:MaxNewSize=384m
> -Djava.awt.headless=true -Dhttp.agent=Sakai
> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
> -Dsun.lang.ClassLoader.allowArraySyntax=true
> -Dsun.lang.ClassLoader.allowArraySyntax=true
> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
> -Dhttp.agent=Sakai'
> 
> 
> 
> 5) CATALINA_HOME is
> /opt/apache-tomcat-5.5.31
> 
> 6) Created a folder named sakai in CATALINA_HOME and copied the file
> https://source.sakaiproject.org/svn/config/branches/sakai-2.7.x/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties
> into it with name sakai.properties
> 
> 7) After this the binary I had downloaded was extracted in
> CATALINA_HOME/webapps/sakai-bin
> 
> Now what do I need to do to be able to start sakai ?
> -- 
> http://mightydreams.blogspot.com
> _______________________________________________
> sakai-user mailing list
> sakai-user at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
> 
> TO UNSUBSCRIBE: send email to sakai-user-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20101110/2cc46399/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3829 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20101110/2cc46399/attachment.bin 


More information about the sakai-user mailing list