Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Carry out a complete VIVO installation from scratch in order to identify any problems related to the installation process

Reference

https://wiki.lyrasis.org/display/VIVO/Release+Testing+-+1.12.0

Initial configuration

Tools

DescriptionValue
Installation OS
Linux  5.4.0-73-generic #82-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
Java JVM
java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
Maven
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 1.8.0_292, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: fr_CA, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-73-generic", arch: "amd64", family: "unix"
Home directory installation~/TEST-VIVO

Setup


ActionDescriptionResult
1Making git-fork of VIVO Repo's to
2Cloning all repo branche

git clone --single-branch --branch rel-1.12.0-RC https://github.com/vivo-project/Vitro-languages.git
git clone --single-branch --branch rel-1.12.0-RC https://github.com/vivo-project/VIVO-languages.git
git clone --single-branch --branch rel-1.12.0-RC https://github.com/vivo-project/Vitro.git
git clone --single-branch --branch rel-1.12.0-RC https://github.com/vivo-project/VIVO.git

Image Added

3Configuring settings.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
<profiles>
<profile>
<id>defaults</id>
<properties>
<app-name>vivo</app-name>
<vivo-dir>/opt/vivo/home</vivo-dir>
<tomcat-dir>/opt/tomcat</tomcat-dir>
<default-theme>wilma</default-theme>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>defaults</activeProfile>
</activeProfiles>
</settings>

Image Added

4


Avertissement
titleBefore launching Maven

Make sure that the installation directory of the maven packages (~/.m2) is empty


rm -r ~/.m2/*

Installation scenarios

First installation scenario

In this scenario. the packages of (VIVO and Vitro) languages are previously compiled before the execution of Maven in the directory VIVO/installer


ActionDescription
1Installing Vitro-languages
cd ~/TEST-VIVO/Vitro-languages 
mvn clean install

Image Added

(This step generates a lot of download of Maven -Central because of the (~/.m2) directory cleaning )

2Installing Vivo-languages
cd ~/TEST-VIVO/VIVO-languages
mvn clean install


As you can see the packages are installed in the subdirectory (1.11.2-SNAPSHOT) of Maven (~/.m2)

Image Added

3Installing VIVO
cd ~/TEST-VIVO/VIVO/installer/
mvn -s settings.xml clean install

Image Added

Observations:

All comments come from the analysis of the log file captured during the installation of VIVO (Pojnt 3)

View file
namevivo_install.log
height150


ActionDescription
1

2

3