OSYL Tomcat Bundle
Document Purpose
This document is intended to users who want to install a working instance of OpenSyllabus, without all the steps involved in a full development setup.
Requirements
- Windows platform (Only tested under XP SP2). It should not be too difficult to have it working under Linux/MacOS though...
- Java JDK 1.5 installed and environment variable JAVA_HOME set accordingly.
- MySQL Server installed (version 4.1 or 5.0) and access to root account
Download
- Download the Opensyllabus Tomcat bundle here (125 MB)
- Create the folder c:\opt, for example (you can choose whatever folder suits you, you will simply have to adjust the procedure accordingly!).
- Extract the bundle in c:\opt, this will create a single folder: tomcat-osyl.
Configuration
- First, ensure that the mySQL Server is started.
- Connect to it using the root account
- Type the following commands:
create database sakaiOSYL default character set utf8; grant all on sakaiOSYL.* to sakaiuser@'localhost' identified by 'sakaipassword'; grant all on sakaiOSYL.* to sakaiuser@'127.0.0.1' identified by 'sakaipassword'; quit
- The sakai.properties shipped with this bundle of OpenSyllabus is configured to use the database name sakaiOSYL and the account
sakaiuser with password sakaipassword. You will have to edit the file only if choose different values for these parameters. - If you already have an application listening on port 8080, either shut it down, or change the Tomcat and Sakai config (edit files conf/server.xml and sakai.properties)
- Set your environment variable CATALINA_HOME to C:\opt\tomcat-osyl (if you extracted somewhere else, adjust accordingly!)
- Open a new cmd.exe and type %CATALINA_HOME%\bin\startup.bat
- Wait for Tomcat to start. Next starts will be faster as databases are only created on first startup!
Startup
- First, be advised that OpenSyllabus is known to work much better with Firefox than in Internet Explorer. Other browsers have not been tested extensively therefore we encourage you to use Firefox 3 for the following steps.
- Connect to http://localhost:8080/portal using account admin/admin
- Go to Worksite Setup, you should see a couple of Course Sites which have been created automatically (0-000-00, 2-309-00, etc.)
- Click on 2-708 for instance and then on OpenSyllabus (left menu)
- Here you are: this course outline from HEC Montreal is titled "Information Technologies in Organizations".
- You can navigate to other predefined websites by returning to My Workspace/Worksite Setup
- You can also create a new Project Website, adding at least the tool OpenSyllabus. Then you will be able to create a Course Outline from scratch.
- More user documentation will be made available as soon as possible!