Installation and Setup V2

Aus CTS2-LE
Version vom 25. August 2016, 21:17 Uhr von Billig (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „** <code></code> * Two zip files are shipped with CTS2LE: ** <code>WebCts2LE-Vx.x.x.-load-vocabs.zip</code>: all terminology sources ** <code>WebCts2LE-Vx.x.x.…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen
  • Two zip files are shipped with CTS2LE:
    • WebCts2LE-Vx.x.x.-load-vocabs.zip: all terminology sources
    • WebCts2LE-Vx.x.x.embedded-jetty.zip: the server itself

!!! Ensure that you have sufficient privileges and a distinguished owner for all directories and files created below

Installation

  • install the server
    • Choose an instance name, e.g. 'epsos' (denoted with <I> in the following)
    • Make directory /etc/webcts2le/ (denoted with <H> in the following). Note that /etc/webcts2le is required for now
    • Unzip WebCts2LE-Vx.x.x.embedded-jetty.zip to <H>
  • make a directory for the import terminologies, e.g. /home/webcts2le/load-vocabs (denoted with <V> in the following)
  • unzip WebCts2LE-Vx.x.x.-load-vocabs.zip to <V>
  • go to directory <H>
  • to setup the system with provided terminologies run ./bin/SuperLoader.sh -CTS2LE_VOCABS_ROOT <V>
  • copy <H>/bin/webcts2le.sh to /etc/init.d/
  • adapt, if neccessary, the first three variables below the line "* set this on different machines" in webcts2le.sh
  • run /etc/init.d/webcts2le.sh start
  • to shutdown the server run /etc/init.d/webcts2le.sh stop

to start and stop a certain instance directly: go to directory <H> run ./bin/startup.sh -port 8081 -CTS2LE_VOCABS_ROOT <V> resp. run ./bin/shutdown.sh 8081 (or alternatively curl -X POST http://localhost:8081/shutdown?token=webcts2le)