Difference between revisions of "Imeji installer"

From MPDLMediaWiki
Jump to navigation Jump to search
m
Line 23: Line 23:
* update.sh: get newer imeji and deploy it
* update.sh: get newer imeji and deploy it
* backup.sh: do a backup of all imeji data (files and tdb)
* backup.sh: do a backup of all imeji data (files and tdb)
[[Category:Imeji_Technical_Specification|installer]]
[[Category:Imeji_Technical_Specification|Installer]]

Revision as of 08:03, 4 March 2013

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)