From e2108c15405b70c5b3251e00bf2987642f2cfc46 Mon Sep 17 00:00:00 2001
From: ejc12
+
CREATE DATABASE dbname CHARACTER SET utf8;
-
+
Grant access to a database user. For example:
-
+
GRANT ALL ON dbname.* TO 'username'@'hostname' IDENTIFIED BY 'password';
-
+
Keep track of the database name, username, and password for Step IV.
@@ -351,15 +351,33 @@ http://vivo.mydomain.edu/ns#networkId +At the command line, from the top level of the unpacked distribution directory, type:
-
+
ant all
-
+
to build VIVO and deploy to Tomcat's webapps directory. @@ -367,7 +385,7 @@
Currently, VIVO copies the contents of your RDF database into memory - in order to serve Web requests quickly (the in-memory copy and the + in order to serve Web requests quickly (the in-memory copy and the underlying databaseare kept in synch as edits are performed).
VIVO will
@@ -377,9 +395,9 @@
For example:
+
export CATALINA_OPTS="-Xms2048m -Xmx1024m -XX:MaxPermSize=128m"
-
+
This sets Tomcat to allocate an initial heap of 2048 megabytes, a maximum heap of 1024 megabytes, and a PermGen space of 128 megs. 1024 @@ -400,13 +418,10 @@ that your installation can support the required number of threads by making the following edits to "/etc/security/limits.conf":
-
- apache hard nproc 400
-
-
- tomcat6 hard nproc 1500
-
+ + apache hard nproc 400 + tomcat6 hard nproc 1500 +
Most Tomcat installations can be started by running "startup.sh" or @@ -427,11 +442,11 @@
After verifying your new password, you will be presented with a menu of editing options. Here you can create OWL classes, object properties, - data properties, and configure the display of data. Currently, - any classes you wish to make visible on your website must be part of a - class group, and there a number of visibility and display options + data properties, and configure the display of data. Currently, + any classes you wish to make visible on your website must be part of a + class group, and there a number of visibility and display options available for each ontology entity. VIVO comes with a core VIVO - ontology, but you may also upload other ontologies from an RDF + ontology, but you may also upload other ontologies from an RDF file.
@@ -442,8 +457,10 @@ machine. Ensure that the "add RDF" radio button is selected. You will also likely want to check "create classgroups automatically."
- Clicking the "Index" tab in the navigation bar at the top left of - the page will show a simple index of the knowledge base. ++ Clicking the "Index" tab in the navigation bar at the top left of + the page will show a simple index of the knowledge base. +
See more documentation for configuring VIVO, ingesting data, and manually adding @@ -483,9 +500,9 @@
Using the mod_jk connector allows for communication between Tomcat - and the primary web server. The - Quick - Start HowTo on the Apache site describes the minimum server configurations + and the primary web server. The Quick + Start HowTo + on the Apache site describes the minimum server configurations for several popular web servers.
@@ -494,9 +511,9 @@ requests from Apache via the connector. Look for the <connector> directive and add the following properties:
-
+
connectionTimeout="20000" maxThreads="320" keepAliveTimeout="20000"
-
+
Note: the value for maxThreads (320) is equal to the value for MaxClients in the apache's "httpd.conf" file. @@ -505,51 +522,57 @@ Locate the <Host name="localhost"...> directive and update as follows:
- - - +-+ /> + </Context> + ... +- example.com -- -- -
- VIVO uses the Pellet engine to perform reasoning, which runs in the +
Do we need this section still? - elly
+VIVO uses the Pellet engine to perform reasoning, which runs in the background at startup and also when the knowledge base is edited. VIVO continues serving pages while the reasoner continues working; when the reasoner finishes, the new inferences appear. Inferred statements are cached in a database graph so that they are available immediately when - VIVO is restarted. By default, Pellet is fed only an incomplete view of + VIVO is restarted.
+By default, Pellet is fed only an incomplete view of your ontology and only certain inferences are materialized. These include rdf:type, rdfs:subClassOf,owl:equivalentClass, and owl:disjointWith. This mode is typically suitable for ontologies with a lot of instance data. If you would like to keep the default mode, - skip to the next step. To enable "complete" OWL inference (materialize - all significant entailed statements), open - "vitro-core/webapp/config/web.xml" and search for PelletReasonerSetup. - Then change the name of the listener class to + skip to the next step.
++ To enable "complete" OWL inference (materialize + all significant entailed statements), open + "vitro-core/webapp/config/web.xml" and search for PelletReasonerSetup. +
+Then change the name of the listener class to PelletReasonerSetupComplete. Because "complete" reasoning can be very resource intensive, there is also an option to materialize nearly - all inferences except owl:sameAs and owl:differentFrom. This is enabled + all inferences except owl:sameAs and owl:differentFrom.
+This is enabled by specifying PelletReasonerSetupPseudocomplete. For ontologies with large numbers of individuals, this mode can offer enormous performance - improvements over the "complete" mode. Finally, a class called + improvements over the "complete" mode.
+Finally, a class called PelletReasonerSetupPseudocompleteIgnoreDataproperties is provided to improve performance on ontologies with large literals where data - property entailments are not needed. + property entailments are not needed.