Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Assumptions:

  • Linux RedHat WS 4.0
  • Having Sakai v2.0.0 installed
  • Having Melete v2.0.2 installed
  • DB is MySQL
  • Installation home directory "/home/sakai"
  • Tomcat is located in "/home/sakai/local/tomcat"
  • Sakai v2.0.0 source dir "/home/sakai/sakai-src"
  • Melete v2.0.2 source dir "/home/sakai/melete2_Htmlarea_Release2.0.2"
  • Shutdown current tomcat installation
  • Move old sakai source
    mv sakai-src sakai-src_2-0-0
  • Unpack new sakai source
    tar xvzf sakai-src_2-0-1.tar.gz
  • Renmame new sakai soruce directory
    mv sakai-src sakai-src_2-0-1
  • Make the Melete specific changes to the sakai soruce
  • Edit registration.xml in "sakai-src_2-0-1/legacy/component/src/config/"
    • <function name="melete.author" />
    • <function name="melete.student" />
  • From within sakai-src_2-0-1 build with maven
    cd ~/sakai-src_2-0-1
    maven sakai
  • Now we rebuild Melete but first need to edit the project.xml file to account for the version change
    cd /home/sakai/melete2_Htmlarea_Release2.0.2
    vi project.xml
  • Change this line "<currentVersion>2.0.0</currentVersion>" to "<currentVersion>2.0.1</currentVersion>" in project.xml
    NOTE: I had to chmod it to 644 because it was read only
  • Build Melete with maven
    cd /home/sakai/melete2_Htmlarea_Release2.0.2
    maven cln bld dpl
  • Now we patch the database
  • Download the DB patch at
    wget http://bugs.sakaiproject.org/jira/secure/attachment/10838/
    Note: The samigo-2.0.0-patch1.tar file is not an archive bug a text file that contains the SQL statements to patch the DB
  • So we need to rename the above file
    from:
    samigo-2.0.0-patch1.tar
    to:
    samigo-2.0.0-patch1.sql
  • Now we can apply the patch:
    mysql -u username -p schemaname < samigo-2.0.0-patch1.sql --force

That's it:

  • Start Tomcat
  • No labels