diff --git a/doc/install.html b/doc/install.html index e2c29be0..a66a6d79 100644 --- a/doc/install.html +++ b/doc/install.html @@ -27,95 +27,71 @@
- The VIVO 1.2 release incorporates major changes to the entire - application - theming and navigation changes that will be immediately - evident to any user, and underlying changes to the system architecture - that are less visible but address important questions of scalability - and extensibility. + The VIVO 1.2 release incorporates major changes throughout the + application - notably a new templating system to support more flexible + display and navigation, plus improvements to address scalability. The + release also features two new visualization options: temporal graphing + for organizations, and personal visualizations extended to cover grants + as well as publications. The VIVO Harvester library has also been + significantly improved and expanded in scope for its 1.0 release + through the VIVO SourceForge project at + http://sourceforge.net/projects/vivo.
-- A new installation of VIVO 1.2 will look strikingly different - the - User Interface team has designed a new visual theme that incorporates a - new navigation and browse structure as well as a much more modular - approach to page design. This theme is not only cosmetically different - but leverages entirely new page templates developed with the Freemarker - system, an open-source library for Java development that enables much - cleaner separation of application logic from the actual page design. - These changes extend the available configuration options controlling - VIVO's appearance and navigation options while also simplifying the - process of local customization and branding. + A new installation of VIVO 1.2 looks strikingly different, with a + new navigation and browse interface as well as a more modular page + design that is easier to customize and brand for your local + institution. Page displays now support inline navigation to streamline + viewing of expanded personal and organizational profiles, as well as + improved graphic layout and organization. New browsing controls on the + home page and each menu page include interactive visual controls to + provide an immediate overview of the size and range of content and + quick access down to the individual person, organization, research + feature, or event. VIVO's navigation has also been completely + overhauled. +
+
+ While server memory capacity has increased significantly in recent
+ years, VIVO's reliance on in-memory caching of RDF data had put limits
+ on the ultimate scalability of VIVO instances and potentially increased
+ the cost of servers required to support VIVO.
+
- For existing installations of VIVO, the upgrade will not immediately - transition to the new theme, navigation, or page templates. The current - default theme and "tabs" (top-level and secondary navigation controls) - will be left intact on upgrade and will still function as they do in - version 1.1.1, with the caveat that local modifications to the default - theme may conflict with internal application changes. We highly - recommend that current VIVO installations use the time between release - 1.2 and the upcoming release of version 1.3 (targeted for June or July - 2011) to migrate local theme branding and navigation to the new VIVO - template. Many legacy features such as the "tab" infrastructure have - been deprecated with version 1.2 and will no longer be supported as of - version 1.3. + With version 1.2, VIVO has been converted to optionally use Jena's + SPARQL database (SDB) subsystem. SDB significantly reduces the baseline + memory footprint, allowing VIVO installations to scale well beyond what + has previously been possible.
-- In addition to changes in the top-level navigation, VIVO 1.2 - introduces a number of new browsing controls that will be made more - configurable and extensible in version 1.3 but which already offer - extensive functionality. + VIVO continues to expand visualization options including all-new + user-configurable temporal comparisons of publications and grants, + grouped by organization or by affiliated person. Visualizations of + networks of co-authors are now complemented by visualizations of + co-investigators on grants, with a similar interactivity and options + for export as images or data.
+- A fresh installation of VIVO 1.2 will feature the new theme and - additional browsing options on other top-level navigation pages (Home, - People, Research, Organizations, and Events). Primary among the new - browsing options will be browsing by type, organized - hierarchically with the same upper-level class groups - currently - visible in search results - people, courses, activities, topics, - events, organizations, and publications. Class groups combine the - similar types such as people or organizations into groups for browsing - and searching, and are locally configurable using the VIVO ontology - editor. + VIVO 1.2 includes a new ontology module representing research + resources including biological specimens, human studies, instruments, + organisms, protocols, reagents, and research opportunities. This module + is aligned with the top-level ontology classes and properties from the + NIH-funded eagle-i Project.
+- Once a group has been selected, browsing can continue to the very - specific, at the level of individual people, organizations, events, or - publications via A ... Z listing featuring thumbnail pictures where - available. Sites will be able to configure which groups and which types - within a group are exposed in search results and for browsing. + The Harvester development team is releasing version 1.0 of the VIVO + Harvester library, an extensible data ingest and updating framework + with sample configurations for loading PubMed publication, grants, and + human resources data. The Harvester is available at + http://sourceforge.net/projects/vivo.
-- Before this release, VIVO has used the Jena (http://jena.sourceforge.net) - relational - database (RDB) subsystem for the storage of RDF data. The - performance of this persistence layer has never been fast enough for an - interactivity at any significant scale, so VIVO has also maintained a - complete copy of data in memory. While server memory capacity has - increased significantly in recent years, this requirement has put - limits on the ultimate scalability of VIVO instances and also increased - the cost of servers required to support VIVO. -
-- With version 1.2 VIVO uses the SPARQL database (SDB) subsystem of - Jena, specifically designed to support scalable storage and query of - RDF datasets while still using standard relational database technology. - This transition will significantly reduce the initial memory footprint - of a VIVO application, and while the application will still require - adequate processor and memory resources to generate pages from so many - individual RDF statements, the scalability of VIVO installations is - greatly improved. -
-- The transition to retrieving all data via SPARQL queries also - enables additional features important for tracking data provenance and - access to data outside the immediate local VIVO instance. These - features will be more fully explored and developed for version 1.3. -
-This document is a summary of the VIVO installation process. This and other documentation can be found on the support page @@ -123,9 +99,9 @@
- VIVO Developers: If you are working on the VIVO source code from - Subversion, the instructions are slightly different. Please consult + VIVO Developers: If you are working on the VIVO source code from + Subversion, the instructions are slightly different. Please consult developers.txt in this directory.
Be sure to setup the environment variables for
and
ANT_HOME
- and add the executables to your path per
- your operating system and installation directions from the software
+ and add the executables to your path per
+ your operating system and installation directions from the software
support web sites.
+ * Note that VIVO 1.2 will not run on older versions of MySQL that may have worked + with 1.1.1. Be sure to run VIVO 1.2 with MySQL 5.1 or higher. Using unsupported + versions may result in strange error messages related to table formatting or other + unexpected problems. +
Decide on a database name, username, and password. Log into your
MySQL server and create a new database in MySQL that uses UTF-8
- encoding
. You will need these values for Step IV when you
- configure the deployment properties. At the MySQL command line you can
+ encoding. You will need these values for Step IV when you
+ configure the deployment properties. At the MySQL command line you can
create the database and user with these commands substituting your
- values for dbname
, username
, and password
.
- Most
+ values for dbname
, username
, and password
.
+ Most
of
the time, the hostname will equal localhost
.
+ Content from Brian Lowe coming. +
+
At the top level of the unpacked distribution, copy the file example.deploy.properties
to a file named simply deploy.properties
. This file sets
@@ -252,14 +241,14 @@
Windows:
- For those installing on Windows operating
- system, include the windows drive and use the forward slash "/" and not
+ For those installing on Windows operating
+ system, include the windows drive and use the forward slash "/" and not
the back slash "\" in the directory locations, e.g. c:/tomcat
.
External authentication: - If you want to use an external - authentication system like Shibboleth or CUWebAuth, you will need to + If you want to use an external + authentication system like Shibboleth or CUWebAuth, you will need to set two additional properties in this file. See the section below entitled Using an External Authentication System with VIVO. @@ -300,8 +289,8 @@
At the command line, from the top level of the unpacked distribution directory, type: @@ -590,16 +579,16 @@
to build VIVO and deploy to Tomcat's webapps directory.
-- Currently, VIVO copies the contents of your RDF database into - memory in order to serve Web requests quickly (the in-memory copy and + Currently, VIVO copies the contents of your RDF database into + memory in order to serve Web requests quickly (the in-memory copy and the underlying databaseare kept in synch as edits are performed).
- VIVO will require more memory than that allocated to Tomcat by
- default. With most installations of Tomcat, the "setenv.sh" or
+ VIVO will require more memory than that allocated to Tomcat by
+ default. With most installations of Tomcat, the "setenv.sh" or
"setenv.bat" file in Tomcat's bin directory is a convenient place to
set the memory parameters.
@@ -608,9 +597,9 @@
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 - megabytes is a minimum practical heap size for production installations - storing data for large academic institutions, and additional heap space + maximum heap of 1024 megabytes, and a PermGen space of 128 megs. 1024 + megabytes is a minimum practical heap size for production installations + storing data for large academic institutions, and additional heap space is preferable. For testing with small sets of data, 256m to 512m should be sufficient.
@@ -619,26 +608,26 @@ be remedied by increasing the heap parameters and restarting Tomcat.
- Security limits: VIVO is a multithreaded web application that may
- require more threads than are permitted under your Linux installation's
+ Security limits: VIVO is a multithreaded web application that may
+ require more threads than are permitted under your Linux installation's
default configuration. Ensure 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
Most Tomcat installations can be started by running startup.sh
or startup.bat
- in Tomcat's bin directory. Point your
- browser to "http://localhost:8080/vivo/" to test the application. If
+ in Tomcat's bin directory. Point your
+ browser to "http://localhost:8080/vivo/" to test the application. If
Tomcat does not start up, or the VIVO application is not visible, check
the catalina.out
file in Tomcat's logs directory.
- If the startup was successful, you will see a welcome message
- informing you that you have successfully installed VIVO. Click the "Log
+ If the startup was successful, you will see a welcome message
+ informing you that you have successfully installed VIVO. Click the "Log
in" link near the upper right corner. Log in with the initialAdminUser
username you set up in Step IV. The initial password for the initialAdminUser
account is "defaultAdmin" (without the quotes). On first login, you
@@ -647,17 +636,17 @@
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 + 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 available for each ontology entity. VIVO comes with a core VIVO ontology, but you may also upload other ontologies from an RDF file.
Under the "Advanced Data Tools" click "Add/Remove RDF Data." Note - that Vitro currently works best with OWL-DL ontologies and has only - limited support for pure RDF data. You can enter a URL pointing to the - RDF data you wish to load or upload a file on your local machine. + that Vitro currently works best with OWL-DL ontologies and has only + limited support for pure RDF data. You can enter a URL pointing to the + RDF data you wish to load or upload a file on your local machine. Ensure that the "add RDF" radio button is selected. You will also likely want to check "create classgroups automatically."
@@ -669,32 +658,32 @@ See more documentation for configuring VIVO, ingesting data, and manually adding data at http://vivoweb.org/support. -
If you have configured your application to use the "Contact Us"
- feature in Step IV (Vitro.smtpHost
), you will also need to
- add an email address to the VIVO application. This is the email
+ feature in Step IV (Vitro.smtpHost
), you will also need to
+ add an email address to the VIVO application. This is the email
that the contact form submits to. It can be a list server or an
individual's email address.
- Log in as a system administrator. Navigate to the "Site Admin" - table of contents (link in the right side of the header). Go to "Site - Information" (under "Site Configuration"). In the "Site Information + Log in as a system administrator. Navigate to the "Site Admin" + table of contents (link in the right side of the header). Go to "Site + Information" (under "Site Configuration"). In the "Site Information Editing Form," enter a functional email address in the field "Contact Email Address." and submit the change.
If you set theVitro.smtpHost
- in Step IV and do NOT
- provide an email addressin this step, your users will receive a java
+ in Step IV and do NOT
+ provide an email addressin this step, your users will receive a java
error in the interface.
- It is recommended that a Tomcat Connector such as mod_jk be used to - ensure that the site address does not include the port number (e.g. + It is recommended that a Tomcat Connector such as mod_jk be used to + ensure that the site address does not include the port number (e.g. 8080) and an additional reference to the Tomcat context name (e.g. /vivo).
@@ -712,9 +701,9 @@
After setting up the mod_jk connector above, you will need to
- modify the Tomcat's server.xml (located in [tomcat root]/conf/
)
- to
- respond
+ modify the Tomcat's server.xml (located in [tomcat root]/conf/
)
+ to
+ respond
to requests from Apache via the connector. Look for the
<connector> directive and add the following properties:
<Host name="localhost" appBase="webapps"-
DeployOnStartup="false"
unpackWARs="true" autoDeploy="false"
xmlValidation="false" xmlNamespaceAware="false">
<Alias>example.com</Alias>
<Context path=""
docBase="/usr/local/tomcat/webapps/vivo"
reloadable="true"
cookies="true" >
<Manager pathname="" />
<Environment type="java.lang.String" override="false"
name="path.configuration"
value="deploy.properties"
/>
</Context>
...
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 + 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 your ontology - and only certain inferences are materialized. These include rdf:type, - rdfs:subClassOf, owl:equivalentClass, and owl:disjointWith. This mode + 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 + 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 + 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 by specifying PelletReasonerSetupPseudocomplete. - For ontologies with large numbers of individuals, this mode can offer + 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 - PelletReasonerSetupPseudocompleteIgnoreDataproperties is provided to + Finally, a class called + PelletReasonerSetupPseudocompleteIgnoreDataproperties is provided to improve performance on ontologies with large literals where data property entailments are not needed.
-@@ -780,14 +769,14 @@ system like Shibboleth or CUWebAuth.
- VIVO must be accessible only through an Apache HTTP server. The - Apache server will be configured to invoke the external authentication + VIVO must be accessible only through an Apache HTTP server. The + Apache server will be configured to invoke the external authentication system. When the user completes the authentication, the Apache server will pass a network ID to VIVO, to identify the user.
- If VIVO has an account for that user, the user will be logged in - with the privileges of that account. In the absence of an account, VIVO + If VIVO has an account for that user, the user will be logged in + with the privileges of that account. In the absence of an account, VIVO will try to find a page associated with the user. If such a page is found, the user can log in to edit his own profile information.
@@ -844,9 +833,9 @@ If VIVO has an account for the user, the user will be given the privileges assigned to that account.- In addition, VIVO will try to associate the user with a profile - page, so the user may edit his own profile data. VIVO will search the - data model for a person with a property that matches the User’s network + In addition, VIVO will try to associate the user with a profile + page, so the user may edit his own profile data. VIVO will search the + data model for a person with a property that matches the User’s network ID. You need to tell VIVO what property should be used for matching. Insert a line like this in the deploy.properties file:
@@ -854,7 +843,7 @@ For example:selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId-
If you have completed the previous steps, you have good indications that the installation was successful. @@ -878,9 +867,9 @@ Click on the "Index" link on the upper right, below the logo. You should see a "locations" section, with links for "Country" and "Geographic Location." The index is built in a background thread, so on - your first login, you may see an empty index instead. Refresh the page - periodically to see whether the index will be populated. This may take - some time: with VIVO installed on a modest laptop computer, loading the + your first login, you may see an empty index instead. Refresh the page + periodically to see whether the index will be populated. This may take + some time: with VIVO installed on a modest laptop computer, loading the ontology files and building the index took more than 5 minutes from the time that Tomcat was started. @@ -901,28 +890,28 @@ you will be prompted to change the password.