Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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/jakarta-tomcat-5.5.9" (I also soft-linked this: "ln -s jakarta-tomcat-5.5.9 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
  • Save your Sakai configuration files in "/home/sakai/local/tomcat/sakai
    cd /home/sakai/local/tomcat
    tar cvzf sakai.tgz sakai
    mv sakai.tgz /home/sakai
  • Remove tomcat
    cd /home/sakai/local
    rm tomcat
    rm -fr jakarta-tomcat-5.5.9
  • Copy back the sakai configuration files
    cd /home/sakai/local/tomcat
    cp ~/sakai.tgz .
    tar xvzf sakai.tgz
    rm sakai.tgz

...

  • 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

-NOTE: ( I had to start and stop tomcat twice because I got some wired Samigo JSP errors after accessing Samigo after the first start.)