Versions Compared

Key

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

...

In order to fully install VIVO, you need to create a settings file that provides some essential information:

app-name

vivo-dir

tomcat-dir

This file needs to be created following the Maven Settings Reference. A template file already exists in the "installer" directory within the VIVO project, called "example-settings.xml". You may copy this file (it can be called anything you like), and edit the contents to fit your requirements / system configuration.

...

  1. Download and install the latest 7.x version of Solr (installation instructions)
    1. The directory in which Solr is installed is referenced below as ${SOLR_HOME} (e.g. /opt/solr/solr-7.7.2)
    2. Package managers may result in ${SOLR_HOME} being different than the installation directory. You can confirm the value of ${SOLR_HOME} by visiting http://localhost:8983/solr and checking the value of "solr.solr.home" in the Java Properties list, or running 

      Code Block
      languagebash
      curl --silent http://localhost:8983/solr/admin/info/system | grep -e "solr_home"


  2. Add the vivocore directory of the vivo-solr GitHub repository and its contents into ${SOLR_HOME}/server/solr
    1. The end result should be a directory structure such as:

      No Format
      ${SOLR_HOME}/server/solr/vivocore/core.properties
                                    └── conf/
                                         ├── currency.xml
                                         ├── elevate.xml
                                         └── ... 


  3. Start Solr

    No Format
    ${SOLR_HOME}/bin/solr start


  4. Remove schema.xml from ${SOLR_HOME}/server/solr/vivocore/conf
    1. When solr was started it created the managed-schema automatically from the schema.xml and is no longer needed

  5. Update VIVO runtime.properties as below to point to the URL of your Solr

    No Format
    vitro.local.solr.url = http://localhost:8983/solr/vivocore 


  6. Start VIVO!
    1. Note: If VIVO was started before connecting to Solr, please restart VIVO.

...