Installation and Setup V2
Version vom 25. August 2016, 21:53 Uhr von Billig (Diskussion | Beiträge)
- Two zip files are shipped with CTS2LE:
WebCts2LE-Vx.x.x.-load-vocabs.zip: standard terminology sources (afterwards loaded with special loaders)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 a server instance
- Choose an instance name, e.g. 'epsos' (denoted with <I> in the following)
- Make directory
/etc/webcts2le/<I>(denoted with <H> in the following). Note that/etc/webcts2leis required for now - Unzip
WebCts2LE-Vx.x.x.embedded-jetty.zipto <H> - Copy
<H>/bin/webcts2le.shto/etc/init.d/
- Install terminology sources
- Make directory
/home/webcts2le/load-vocabs(denoted with <V> in the following) - Unzip
WebCts2LE-Vx.x.x.-load-vocabs.zipto <V>
- Make directory
- Setup standard terminologies
- Go to directory <H>
- Run
./bin/SuperLoader.sh -CTS2LE_VOCABS_ROOT <V>
- Start/Stop server instances
- Adapt, if neccessary, the
BASE_PORTandCTS2LE_VOCABS_ROOT(<V>) below the line "* set this on different machines" inwebcts2le.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 alternativelycurl -X POST http://localhost:8081/shutdown?token=webcts2le)
- Adapt, if neccessary, the