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 https://github.com/vivo-project/VIVO/releases/ and extract it to somewhere you want.
example-settings.xml as wherever name you want. Then, edit tomcat-dir to
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> CREATE DATABASE vitrodb CHARACTER SET utf8;
mysql> GRANT ALL ON vitrodb.* TO 'vitrodbUsername'@'localhost' IDENTIFIED BY 'vitrodbPassword';
We need to finish the installation. Do copy this following 2 files:
Lastly, give a permission to tomcat8 so, the tomcat user will be able to read/write on
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 gist.github.com.