Installation and Setup V3: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Billig (Diskussion | Beiträge) (→Required Software/Server) |
Billig (Diskussion | Beiträge) |
||
| Zeile 23: | Zeile 23: | ||
<syntaxhighlight lang="javascript" line="GESHI_NORMAL_LINE_NUMBERS"> | <syntaxhighlight lang="javascript" line="GESHI_NORMAL_LINE_NUMBERS"> | ||
| − | + | store: 'fuseki', | |
| − | + | storePath: 'http://localhost:3030/cts2le', | |
| + | |||
| + | luceneMode: 'remote', | ||
| + | luceneIndexPath: 'http://localhost:8983/solr/cts2le', | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | + | Be sure that | |
| + | * '''store='fuseki'''' and '''luceneMode='remote'''' and | ||
| + | * host:port of storePath and luceneIndexPath are set to the server endpoints | ||
Version vom 16. April 2019, 15:11 Uhr
Inhaltsverzeichnis
Required Software/Server
- files fuseki-cts2le.zip and solr-cts2le.zip are included in the CTS2-LE release
Fuseki Installation
- unzip fuseki-cts2le.zip to a directory (denoted by <F1> in the following)
- unzip apache-jena-fuseki-3.8.0.zip from https://jena.apache.org/download/ (the extracted directory apache-jena-fuseki-3.8.0 is denoted by <F2> in the following)
- run <F2>/fuseki start and <F2>/fuseki stop subsequently (in order to let directory <F2>/run be generated)
- copy <F1>/cts2le.ttl to <F2>/run/configuration
- run <F2>/fuseki start
- to stop it run <F2>/fuseki stop
Solr Installation
- unzip solr-cts2le.zip to a directory (denoted by <S1> in the following)
- unzip solr-7.6.0.zip from http://lucene.apache.org/solr/downloads.html (the extracted directory solr-7.6.0 is denoted by <S2> in the following)
- run <S2>/bin/solr start -s <S1>
- to stop it run <S2>/bin/solr stop -all
WebCts2LE deployment
- file WebCts2LE-embedded-jetty.zip is included in the CTS2-LE release
General
- unzip WebCts2LE-embedded-jetty.zip to a directory (denoted by <W> in the following)
Embedded Jetty Variant
- edit file <W>/CTS2LE_resources/resources-custom/setting.json. The following fragment shows the relevant lines to adapt:
1 store: 'fuseki',
2 storePath: 'http://localhost:3030/cts2le',
3
4 luceneMode: 'remote',
5 luceneIndexPath: 'http://localhost:8983/solr/cts2le',
Be sure that
- store='fuseki' and luceneMode='remote' and
- host:port of storePath and luceneIndexPath are set to the server endpoints