Installation and Setup V2: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Billig (Diskussion | Beiträge) |
Billig (Diskussion | Beiträge) |
||
| Zeile 7: | Zeile 7: | ||
* Install a server instance | * Install a server instance | ||
** Choose an instance name, e.g. 'epsos' (denoted with '''''<I>''''' in the following) | ** Choose an instance name, e.g. 'epsos' (denoted with '''''<I>''''' in the following) | ||
| − | ** | + | ** Create directory <code>/etc/webcts2le/'''''<I>'''''</code> (denoted with '''''<H>''''' in the following). Note that <code>/etc/webcts2le</code> is required for now |
** Unzip <code>WebCts2LE-Vx.x.x.embedded-jetty.zip</code> to '''''<H>''''' | ** Unzip <code>WebCts2LE-Vx.x.x.embedded-jetty.zip</code> to '''''<H>''''' | ||
** Copy <code>'''''<H>'''''/bin/webcts2le.sh</code> to <code>/etc/init.d/</code> | ** Copy <code>'''''<H>'''''/bin/webcts2le.sh</code> to <code>/etc/init.d/</code> | ||
* Install terminology sources | * Install terminology sources | ||
| − | ** | + | ** Create directory <code>/home/webcts2le/load-vocabs</code> (denoted with '''''<V>''''' in the following) |
** Unzip <code>WebCts2LE-Vx.x.x.-load-vocabs.zip</code> to '''''<V>''''' | ** Unzip <code>WebCts2LE-Vx.x.x.-load-vocabs.zip</code> to '''''<V>''''' | ||
* Setup standard terminologies | * Setup standard terminologies | ||
| − | ** | + | ** Change to directory '''''<H>''''' |
** Run <code>./bin/SuperLoader.sh -CTS2LE_VOCABS_ROOT '''''<V>'''''</code> | ** Run <code>./bin/SuperLoader.sh -CTS2LE_VOCABS_ROOT '''''<V>'''''</code> | ||
| − | * Start/Stop server instances | + | * Start/Stop all server instances |
| − | ** Adapt, if neccessary, the <code>BASE_PORT</code> and <code>CTS2LE_VOCABS_ROOT</code> ('''''<V>''''') below the line "* set this on different machines" in <code>webcts2le.sh</code> | + | ** Adapt, if neccessary, the <code>BASE_PORT</code> and <code>CTS2LE_VOCABS_ROOT</code> ('''''<V>''''') below the line "* set this on different machines" in <code>/etc/init.d/webcts2le.sh</code> |
** Run <code>/etc/init.d/webcts2le.sh start</code> | ** Run <code>/etc/init.d/webcts2le.sh start</code> | ||
** To shutdown the server run <code>/etc/init.d/webcts2le.sh stop</code> | ** To shutdown the server run <code>/etc/init.d/webcts2le.sh stop</code> | ||
| − | * | + | |
| − | ** | + | * Start/Stop a certain server instance directly (via a port) |
| − | + | ** Change to directory '''''<H>''''' | |
| + | ** Run <code>./bin/startup.sh -port 8081 -CTS2LE_VOCABS_ROOT '''''<V>'''''</code> resp. run <code>./bin/shutdown.sh 8081</code> | ||
Version vom 26. August 2016, 00:01 Uhr
- 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
- Install a server instance
- Choose an instance name, e.g. 'epsos' (denoted with <I> in the following)
- Create 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
- Create directory
/home/webcts2le/load-vocabs(denoted with <V> in the following) - Unzip
WebCts2LE-Vx.x.x.-load-vocabs.zipto <V>
- Create directory
- Setup standard terminologies
- Change to directory <H>
- Run
./bin/SuperLoader.sh -CTS2LE_VOCABS_ROOT <V>
- Start/Stop all server instances
- Adapt, if neccessary, the
BASE_PORTandCTS2LE_VOCABS_ROOT(<V>) below the line "* set this on different machines" in/etc/init.d/webcts2le.sh - Run
/etc/init.d/webcts2le.sh start - To shutdown the server run
/etc/init.d/webcts2le.sh stop
- Adapt, if neccessary, the
- Start/Stop a certain server instance directly (via a port)
- Change to directory <H>
- Run
./bin/startup.sh -port 8081 -CTS2LE_VOCABS_ROOT <V>resp. run./bin/shutdown.sh 8081