How to install VIVO web 1.9 on Ubuntu Server 16.04 LTS

This is a short note about how to install VIVO 1.9 web on Ubuntu 16.04 LTS. Deploying on the instance with 4 cores or above along with SSD storage is highly recommended.

First, we need Tomcat server so, I am going to install version 8 which is the latest and the stable one.

sudo apt-get install tomcat8

Second, downloading VIVO distribute from and extract it to somewhere you want.

Copy example-settings.xml as wherever name you want. Then, edit tomcat-dir to /var/lib/tomcat8.

Third, we need maven to build the VIVO.

sudo apt-get install maven

After that, install the VIVO via Maven command. The parameter -s is the config that we have edited. It should take a couple of minutes to complete Java dependencies hell.

sudo mvn install -s settings.xml

The building is complete, next, we have to setup a database.

sudo apt-get install mariadb-server

Then, create a new database.

mysql> GRANT ALL ON vitrodb.* TO 'vitrodbUsername'@'localhost' IDENTIFIED BY 'vitrodbPassword';

We need to finish the installation. Do copy this following 2 files:

  1. /usr/local/vivo/home/config/ to /usr/local/vivo/home/
  2. /usr/local/vivo/home/config/example.applicationSetup.n3 to /usr/local/vivo/home/config/applicationSetup.n3

Lastly, give a permission to tomcat8 so, the tomcat user will be able to read/write on /usr/local/vivo/home

sudo chown -R tomcat8:tomcat8 /usr/local/vivo/home 
sudo chmod -R 775 /usr/local/vivo/home

Finally, we should get VIVO web available at http://YOUR_HOST_NAME:8080/vivo


Originally published at