Installation and Setup V3: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Billig (Diskussion | Beiträge) |
Billig (Diskussion | Beiträge) |
||
| Zeile 2: | Zeile 2: | ||
* files <code>fuseki-cts2le.zip</code> and <code>solr-cts2le.zip</code> are included in the CTS2-LE release | * files <code>fuseki-cts2le.zip</code> and <code>solr-cts2le.zip</code> are included in the CTS2-LE release | ||
=== Fuseki Installation === | === Fuseki Installation === | ||
| − | + | * unzip <code>fuseki-cts2le.zip</code> to a directory (denoted by <code><F1></code> in the following) | |
| − | + | * unzip <code>apache-jena-fuseki-3.8.0.zip</code> from <code>https://jena.apache.org/download/</code> (the extracted directory <code>apache-jena-fuseki-3.8.0</code> is denoted by <code><F2></code> in the following) | |
| − | + | * run <code><F2>/fuseki start</code> and <code><F2>/fuseki stop</code> subsequently (in order to let directory <code><F2>/run</code> be generated) | |
| − | + | * copy <code><F1>/cts2le.ttl</code> to <code><F2>/run/configuration</code> | |
| − | + | * start command: <code><F2>/fuseki start</code> | |
| − | + | * shutdown command: <code><F2>/fuseki stop</code> | |
=== Solr Installation === | === Solr Installation === | ||
| − | + | * unzip <code>solr-cts2le.zip</code> to a directory (denoted by <code><S1></code> in the following) | |
| − | + | * unzip <code>solr-7.6.0.zip</code> from <code>http://lucene.apache.org/solr/downloads.html</code> (the extracted directory <code>solr-7.6.0</code> is denoted by <code><S2></code> in the following) | |
| − | + | * start command: <code><S2>/bin/solr start -s <S1></code> | |
| − | + | * shutdown command: <code><S2>/bin/solr stop -all</code> | |
| − | == WebCts2LE | + | == WebCts2LE Installation == |
* file <code>WebCts2LE-embedded-jetty.zip</code> is included in the CTS2-LE release | * file <code>WebCts2LE-embedded-jetty.zip</code> is included in the CTS2-LE release | ||
=== General === | === General === | ||
| Zeile 20: | Zeile 20: | ||
=== Embedded Jetty Variant === | === Embedded Jetty Variant === | ||
| − | + | * edit file <code><W>/CTS2LE_resources/resources-custom/setting.json</code>. The following fragment shows the relevant lines to adapt: | |
| − | |||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
store: 'fuseki', | store: 'fuseki', | ||
| Zeile 29: | Zeile 28: | ||
luceneIndexPath: 'http://localhost:8983/solr/cts2le', | luceneIndexPath: 'http://localhost:8983/solr/cts2le', | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| + | Be sure that | ||
| − | + | * <code>store='fuseki</code>' and <code>luceneMode='remote</code>' and <code>host:port</code> of storePath and luceneIndexPath are set to the server endpoints | |
| − | * <code>store='fuseki</code>' and <code>luceneMode='remote</code>' and | ||
| − | |||
!!! WebCts2LE does not not run properly if the fuseki or solr endpoint are not running. | !!! WebCts2LE does not not run properly if the fuseki or solr endpoint are not running. | ||
| − | + | * start command: <code><W>/bin/startup.sh -port <port></code> | |
| − | + | * shutdown command: <code><W>/bin/shutdown.sh <port></code> | |
Version vom 16. April 2019, 16:06 Uhr
Inhaltsverzeichnis
Required Software/Server
- files
fuseki-cts2le.zipandsolr-cts2le.zipare included in the CTS2-LE release
Fuseki Installation
- unzip
fuseki-cts2le.zipto a directory (denoted by<F1>in the following) - unzip
apache-jena-fuseki-3.8.0.zipfromhttps://jena.apache.org/download/(the extracted directoryapache-jena-fuseki-3.8.0is denoted by<F2>in the following) - run
<F2>/fuseki startand<F2>/fuseki stopsubsequently (in order to let directory<F2>/runbe generated) - copy
<F1>/cts2le.ttlto<F2>/run/configuration - start command:
<F2>/fuseki start - shutdown command:
<F2>/fuseki stop
Solr Installation
- unzip
solr-cts2le.zipto a directory (denoted by<S1>in the following) - unzip
solr-7.6.0.zipfromhttp://lucene.apache.org/solr/downloads.html(the extracted directorysolr-7.6.0is denoted by<S2>in the following) - start command:
<S2>/bin/solr start -s <S1> - shutdown command:
<S2>/bin/solr stop -all
WebCts2LE Installation
- file
WebCts2LE-embedded-jetty.zipis included in the CTS2-LE release
General
- unzip
WebCts2LE-embedded-jetty.zipto 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:
store: 'fuseki',
storePath: 'http://localhost:3030/cts2le',
luceneMode: 'remote',
luceneIndexPath: 'http://localhost:8983/solr/cts2le',
Be sure that
store='fuseki' andluceneMode='remote' andhost:portof storePath and luceneIndexPath are set to the server endpoints
!!! WebCts2LE does not not run properly if the fuseki or solr endpoint are not running.
- start command:
<W>/bin/startup.sh -port <port> - shutdown command:
<W>/bin/shutdown.sh <port>