Imeji installer

From MPDLMediaWiki
Revision as of 08:22, 4 March 2013 by Kleinfercher (talk | contribs)
Jump to navigation Jump to search

Work in progress

This page describes the specification and implementation of the imeji installer

Linux/Tomcat

The installer consist of a script doing:

  1. create the user tomcat and group tomcat
  2. create the directory structure
  3. install tomcat
  4. download and install imeji.war in tomcat
  5. Set the properties
  6. Start tomcat

directory structure

  • IMEJI_HOME/
    • bin/
    • files/
    • tdb/
    • tomcat/

bin directory

This directory contains following script:

  • deploy.sh: deploy imeji.war (if an older imeji is here remove all old files)
  • reset.sh: reset all data to initial values
  • update.sh: get newer imeji and deploy it
  • backup.sh: do a backup of all imeji data (files and tdb)