Installation and Setup V3: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 
== Required Software/Server ==
 
== Required Software/Server ==
* files '''fuseki-cts2le.zip''' and '''solr-cts2le.zip''' 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 '''fuseki-cts2le.zip''' to a directory (denoted by '''<F1>''' in the following)
+
# unzip <code>fuseki-cts2le.zip</code> to a directory (denoted by <code><F1></code> 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)
+
# 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 '''<F2>/fuseki start''' and '''<F2>/fuseki stop''' subsequently (in order to let directory '''<F2>/run''' be generated)
+
# 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 '''<F1>/cts2le.ttl''' to '''<F2>/run/configuration'''
+
# copy <code><F1>/cts2le.ttl</code> to <code><F2>/run/configuration</code>
# run '''<F2>/fuseki start'''
+
# start command: <code><F2>/fuseki start</code>
# to stop it run '''<F2>/fuseki stop'''
+
# shutdown command: <code><F2>/fuseki stop</code>
 
=== Solr Installation ===  
 
=== Solr Installation ===  
# unzip '''solr-cts2le.zip''' to a directory (denoted by '''<S1>''' in the following)
+
# unzip <code>solr-cts2le.zip</code> to a directory (denoted by <code><S1></code> 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)
+
# 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)
# run '''<S2>/bin/solr start -s <S1>'''
+
# start command: <code><S2>/bin/solr start -s <S1></code>
# to stop it run '''<S2>/bin/solr stop -all'''
+
# shutdown command: <code><S2>/bin/solr stop -all</code>
  
 
== WebCts2LE deployment ==
 
== WebCts2LE deployment ==
* file '''WebCts2LE-embedded-jetty.zip''' is included in the CTS2-LE release
+
* file <code>WebCts2LE-embedded-jetty.zip</code> is included in the CTS2-LE release
 
=== General ===
 
=== General ===
* unzip '''WebCts2LE-embedded-jetty.zip''' to a directory (denoted by '''<W>''' in the following)
+
* unzip <code>WebCts2LE-embedded-jetty.zip</code> to a directory (denoted by <code><W></code> in the following)
  
 
=== Embedded Jetty Variant ===
 
=== Embedded Jetty Variant ===
# edit file '''<W>/CTS2LE_resources/resources-custom/setting.json'''. The following fragment shows the relevant lines to adapt:
+
# edit file <code><W>/CTS2LE_resources/resources-custom/setting.json</code>. The following fragment shows the relevant lines to adapt:
  
<syntaxhighlight lang="javascript" line="GESHI_NORMAL_LINE_NUMBERS">
+
<syntaxhighlight lang="javascript">
 
store: 'fuseki',
 
store: 'fuseki',
 
storePath: 'http://localhost:3030/cts2le',
 
storePath: 'http://localhost:3030/cts2le',
Zeile 31: Zeile 31:
  
 
Be sure that  
 
Be sure that  
* '''store='fuseki'''' and '''luceneMode='remote'''' and
+
* <code>store='fuseki</code>' and <code>luceneMode='remote</code>' and
* host:port of storePath and luceneIndexPath are set to the server endpoints
+
* <code>host:port</code> of storePath and luceneIndexPath are set to the server endpoints
 +
 
 +
!!! WebCts2LE does not not run properly if the fuseki or solr endpoint are not running.
 +
 
 +
# <li value="2"> start command: <code><W>/bin/startup.sh -port <port></code> </li>
 +
# shutdown command: <code><W>/bin/shutdown.sh <port></code>

Version vom 16. April 2019, 15:58 Uhr

Required Software/Server

  • files fuseki-cts2le.zip and solr-cts2le.zip are included in the CTS2-LE release

Fuseki Installation

  1. unzip fuseki-cts2le.zip to a directory (denoted by <F1> in the following)
  2. 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)
  3. run <F2>/fuseki start and <F2>/fuseki stop subsequently (in order to let directory <F2>/run be generated)
  4. copy <F1>/cts2le.ttl to <F2>/run/configuration
  5. start command: <F2>/fuseki start
  6. shutdown command: <F2>/fuseki stop

Solr Installation

  1. unzip solr-cts2le.zip to a directory (denoted by <S1> in the following)
  2. 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)
  3. start command: <S2>/bin/solr start -s <S1>
  4. shutdown command: <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

  1. 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' and luceneMode='remote' and
  • host:port of storePath and luceneIndexPath are set to the server endpoints

!!! WebCts2LE does not not run properly if the fuseki or solr endpoint are not running.

  1. start command: <W>/bin/startup.sh -port <port>
  2. shutdown command: <W>/bin/shutdown.sh <port>