Difference between revisions of "Imeji installer"

From MPDLMediaWiki
Jump to navigation Jump to search
Line 4: Line 4:
The installer consist of a script doing:
The installer consist of a script doing:
# create the user tomcat and group tomcat
# create the user tomcat and group tomcat
# create imeji directory
# create the directory structure
# create the bin directory
# install tomcat  
# install tomcat  
# download last imeji.war
# download and install imeji.war in tomcat
# install imeji.war
# Set the properties
# Set the properties
# Start tomcat
# Start tomcat


==bin directory==
==directory structure==
* IMEJI_HOME/
** bin/
** files/
** tdb/
** tomcat/
 
===bin directory===
This directory contains following script:
This directory contains following script:
* deploy.sh: deploy imeji.war (if an older imeji is here remove all old files)
* deploy.sh: deploy imeji.war (if an older imeji is here remove all old files)

Revision as of 14:07, 15 February 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)