Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • jdk 11
  • maven 3.6.3
  • Linux Ubuntu
  • No solr or tomcat instance should be running on the computer
  • Linux bash


...

Setting up

Setting up the necessary resources for running VIVO

...

Step name and descriptionCommands
Install Apache Jena and its other associated tools


Code Block
languagebash
./DSpace-VIVO/releng/org.vivoweb.dspacevivo.installer/99-OTHER_TOOLS/jena-git-clone-and-deploy.sh


Compiling/Installing  DSpace-VIVO-EXEMPLE and its code libraries


Code Block
languagebash
./DSpace-VIVO/test/org.vivoweb.dspacevivo.etlexample/script/mvn_install_example.sh


Confirm the installation

The purpose of this step is to validate the correct installation of the components necessary for the scenario to proceed. Here is a series of command that can be executed along with their execution result allowing you to compare them with the result of your own installation

Step name and descriptionCommands
Validate that all necessary GIT projects are cloned and properly deployed


Code Block
languagebash
titleExcute 'ls' command
in
from $GIT_REPO
ls -l
total 24
drwxrwxr-x  6 heon heon 4096 mai 20 14:04 data-format-translator
drwxrwxr-x  7 heon heon 4096 mai 20 11:02 DSpace-VIVO
drwxrwxr-x  9 heon heon 4096 mai 20 11:08 Vitro
drwxrwxr-x 11 heon heon 4096 mai 20 11:08 Vitro-languages
drwxrwxr-x 10 heon heon 4096 mai 20 11:08 VIVO
drwxrwxr-x 11 heon heon 4096 mai 20 11:08 VIVO-languages


Code Block
languagebash
title
From
Execute 'ls' from $GIT_REPO in deploy directory
ls -dl ./DSpace-VIVO/deploy/*/
drwxrwxr-x 9 heon heon 4096 mai 20 11:07 ./DSpace-VIVO/deploy/app-solr/
drwxrwxr-x 9 heon heon 4096 mai 20 11:07 ./DSpace-VIVO/deploy/app-tomcat/
drwxrwxr-x 2 heon heon 4096 mai 20 14:05 ./DSpace-VIVO/deploy/lib/
drwxrwxr-x 7 heon heon 4096 mai 20 14:04 ./DSpace-VIVO/deploy/translator/
drwxrwxr-x 9 heon heon 4096 mai 20 11:13 ./DSpace-VIVO/deploy/vivo-home/
Validate that all utilities are properly deployed


Test the utilities to make sure they are working


Code Block
languagebash
titleSetting up environment variables in your session (From $GIT_REPO)
ls
$ 
-dl
source 
./
DSpace-VIVO/
deploy/*/ drwxrwxr-x 9 heon heon 4096 mai 20 11:07 .
bundles/org.vivoweb.dspacevivo/script/00-env.sh


Code Block
languagebash
titleValidate Solr
$ solr-start.sh
Port 8983 is already being used by another process (pid: 56366)
Please choose a different port using the -p option.

$ solr-status.sh 
Found 1 Solr nodes: 
Solr process 56366 running on port 8983
{
  "solr_home":"xxxxxxx/00-GIT/DSpace-VIVO/deploy/app-solr/
drwxrwxr-x 9 heon heon 4096 mai 20 11:07 ./
server/solr",
  "version":"8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 - janhoy - 2021-12-14 13:50:55",
  "startTime":"2022-05-19T15:15:10.534Z",
  "uptime":"0 days, 17 hours, 25 minutes, 10 seconds",
  "memory":"151 MB (%29.5) of 512 MB"}


Code Block
languagebash
titleValidate Tomcat
$ tomcat-start.sh
Using CATALINA_BASE:   xxxxxxx/00-GIT/DSpace-VIVO/deploy/app-tomcat
/

drwxrwxr-x 2 heon heon 4096 mai 20 14:05 .
Using CATALINA_HOME:   xxxxxxx/00-GIT/DSpace-VIVO/deploy/app-tomcat
Using CATALINA_TMPDIR: xxxxxxx/00-GIT/DSpace-VIVO/deploy/
lib
app-tomcat/
drwxrwxr-x 7 heon heon 4096 mai 20 14:04 .
temp
Using JRE_HOME:        /opt/jdk-11.0.9
Using CLASSPATH:       xxxxxxx/00-GIT/DSpace-VIVO/deploy/app-tomcat/
translator
bin/
drwxrwxr-x 9 heon heon 4096 mai 20 11:13 ./DSpace-VIVO/deploy/vivo-home/
tomcat-juli.jar
Using CATALINA_OPTS:   
Tomcat started.


Code Block
languagebash
titleTest Jena
$ sparql -version 2>/dev/null
Jena:       VERSION: 3.17.0
Jena:       BUILD_DATE: 2020-11-25T19:40:23+0000