Versions Compared

Key

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

...

  1. Prepare installation, see above
  2. Empty MySQL database

    Code Block
    languagebash
    mysql -u root -p
    mysql> drop database vitrodb
    mysql> CREATE DATABASE vitrodb CHARACTER SET utf8;
    mysql> GRANT ALL ON vitrodb.* TO 'vitrodbUsername'@'localhost' IDENTIFIED BY 'vitrodbPassword';
    
    *Note: For MySQL 8, the commands for setting up the user and granting permissions are separated:
    mysql> CREATE USER'vitrodbUsername'@'localhost' IDENTIFIED BY 'vitrodbPassword';
    mysql> GRANT ALL ON vitrodb.* TO 'vitrodbUsername'@'localhost';


  3. Remove application data

    Code Block
    languagebash
    rm -rf ${VIVO_HOME}/tdbModels/*
    rm -rf ${VIVO_HOME}/solr/data/*

    3.5.  Ensure runtime.properties is set up in ${VIVO_HOME}/config by copying over example,runtime.properties and specifying the URL of the Solr instance you wish to use with this VIVO deployment. Also you've copied over example.applicationSetup.n3 to applicationSetup.n3 in the same folder.

  4. Start Tomcat

    Code Block
    languagebash
    sudo service tomcat8 restart


...