...
3) Installing Tomcat 8.5 for Vivo-1.11.0-i18n
Procedure
1-
...
Configuring the code's host environment and extract it
Step | Action |
---|
1) Creating the GIT directory |
Code Block |
---|
| sudo -s -u tomcat
mkdir /opt/tomcat/GIT
cd /opt/tomcat/GIT |
|
2) Retrieving the code
|
Code Block |
---|
| git clone https://bitbucket.org/uqam/vivo-uqam-i18n
username....
password... |
|
| Two directories are under 'vivo-uqam-i18n'. vivo-project-i18n: contains the vivo code itself. vivo-project-i18n-config: contains the files needed to configure vivo |
2-
...
Configuring SOLR for Vivo
Step | Action |
---|
1) Pepare Solr |
Code Block |
---|
| sudo systemctl stop solr |
|
2) Copy configuration files |
Code Block |
---|
| sudo -u solr cp -r /opt/tomcat/GIT/vivo-uqam-i18n/vivo-project-i18n-config/solr/server/* /opt/solr/server/ |
|
3) Check vivocore in Solr |
Code Block |
---|
sudo systemctl start solr
http://YOUR_URL:8983/solr/#/vivocore_i18n/core-overview |
![](/download/attachments/183075835/image2020-2-10_11-54-4.png?version=1&modificationDate=1581543648755&api=v2)
|
...
Step | Action |
---|
1) Create VIVO home |
Code Block |
---|
| sudo -u tomcat mkdir -p /opt/tomcat/vivo_i18n/home
sudo -u tomcat cp -r /opt/tomcat/GIT/vivo-uqam-i18n/vivo-project-i18n-config/vivo_i18n/home/* /opt/tomcat/vivo_i18n/home/
|
|
2) Edit runtime.properties fileMake sure that attribute properties fit with current installation
|
Code Block |
---|
| sudo -u tomcat vi /opt/tomcat/vivo_i18n/home/config/runtime.properties |
Code Block |
---|
language | bash |
---|
title | runtime.properties |
---|
| Vitro.defaultNamespace = http://<adresse-ip-du-serveur>:8080/vivo/individual/
...
rootUser.emailAddress = vivo@uqam.ca
...
VitroConnection.DataSource.url = jdbc:mysql://localhost/vitrodb
VitroConnection.DataSource.username = vivo
VitroConnection.DataSource.password = <mot-de-passe-de-la-BD>
...
vitro.local.solr.url = http://<adresse-ip-du-serveur>:8983/solr/vivocore
...
RDFService.languageFilter = true
languages.selectableLocales = fr_CA, en_US, de_DE |
|
Check that the file contains the following code: |
Code Block |
---|
| sudo -u tomcat vi /opt/tomcat/GIT/vivo-uqam-i18n/vivo-project-i18n/vivo-installer-i18n/settings_i18n_uqam.xml |
Code Block |
---|
language | xml |
---|
title | settings_i18n_uqam.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/tomcat/vivo/home</vivo-dir>
<tomcat-dir>/opt/tomcat</tomcat-dir>
<default-theme>wilma</default-theme>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>defaults</activeProfile>
</activeProfiles>
</settings> |
|
...