Difference between revisions of "Imeji installer"

From MPDLMediaWiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<p style="color:white; background-color:#097FED;"> '''Work in progress''' </p>
This page describes the specification and implementation of the imeji installer
This page describes the specification and implementation of the imeji installer


Line 23: Line 25:
* 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:22, 4 March 2013

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)