<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.bioontology.org//mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alexskr</id>
	<title>NCBO Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.bioontology.org//mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alexskr"/>
	<link rel="alternate" type="text/html" href="https://www.bioontology.org//wiki/Special:Contributions/Alexskr"/>
	<updated>2026-06-05T08:07:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=13114</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=13114"/>
		<updated>2024-04-03T17:09:14Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage&lt;br /&gt;
** Dissemination_Wiki|Dissemination&lt;br /&gt;
** NCBO_FAQ|NCBO FAQ&lt;br /&gt;
** Shared_Materials|Shared Materials&lt;br /&gt;
** Glossary|Glossary&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** helppage|help&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Main_Page&amp;diff=13113</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Main_Page&amp;diff=13113"/>
		<updated>2024-03-30T04:22:33Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* Documentation */ remove sparql info link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the '''National Center for Biomedical Ontology (NCBO) public wiki'''. This wiki provides user guides and technical documentation for software developed by NCBO.&lt;br /&gt;
&lt;br /&gt;
Note that as the NCBO project funding has ended, documentation for some projects or project details (n.b., NCBO BioPortal details) may be out of date. Pease send email to the BioPortal Support List &lt;br /&gt;
&lt;br /&gt;
Please visit our [http://www.bioontology.org main site] for more information about NCBO.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
To follow is a list of software developed and maintained by NCBO:&lt;br /&gt;
&lt;br /&gt;
* [https://bioportal.bioontology.org BioPortal] - A web-based application for accessing and sharing biomedical ontologies&lt;br /&gt;
* [https://data.bioontology.org/ BioPortal REST API] - A RESTful API to access BioPortal content&lt;br /&gt;
* [[:Category:NCBO_Virtual_Appliance|BioPortal Virtual Appliance]] - Contains BioPortal and the BioPortal REST API, runs on Linux&lt;br /&gt;
&lt;br /&gt;
Please refer to our [[BioPortal_Release_Notes|release notes]] page for change logs.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[BioPortal Help|BioPortal]] - get help with the user interface and instructions for commonly performed tasks&lt;br /&gt;
* [http://data.bioontology.org/documentation BioPortal REST API] - see a list of available endpoints with usage instructions&lt;br /&gt;
* [[:Category:NCBO_Virtual_Appliance|BioPortal Virtual Appliance]] - read a getting started guide and installation instructions&lt;br /&gt;
* [[Using_NCBO_Technology_In_Your_Project|Using NCBO technologies in your project]] - get ideas for how to employ NCBO technologies in your website or application&lt;br /&gt;
* [[SKOSSupport|SKOS support]] - view the specifics of BioPortal's support for SKOS vocabularies&lt;br /&gt;
* [[NCBO_Developer_Documentation|Developer documentation]]&lt;br /&gt;
&lt;br /&gt;
=== Mail Support ===&lt;br /&gt;
&lt;br /&gt;
* [https://mailman.stanford.edu/mailman/listinfo/bioontology-support BioPortal Support List] - sign up to see and request community support for BioPortal&lt;br /&gt;
* [https://mailman.stanford.edu/pipermail/bioontology-support/ BioPortal mailman email archives] - the usual mailman archive format for BioPortal support list&lt;br /&gt;
* [http://ncbo-support.2288202.n4.nabble.com/ BioPortal nabble email archives] - BioPortal support email list archives in easier format to search and navigate&lt;br /&gt;
&lt;br /&gt;
== Ontology Development Projects ==&lt;br /&gt;
&lt;br /&gt;
These are some of the ontology development projects that NCBO participated in:&lt;br /&gt;
 &lt;br /&gt;
* [http://bioportal.bioontology.org/ontologies/BRO Biomedical Resource Ontology]&lt;br /&gt;
* [http://bioportal.bioontology.org/ontologies/TMO Translational Medicine Ontology] &lt;br /&gt;
* [[NPO:Main_Page|NanoParticle Ontology]] &lt;br /&gt;
* [http://bioportal.bioontology.org/ontologies/PATO Phenotypic Quality Ontology]&lt;br /&gt;
* [[RO:Main_Page|OBO Relations Ontology]]&lt;br /&gt;
* [[CARO:Main_Page|Common Anatomy Reference Ontology]]&lt;br /&gt;
* [[CL:Main_Page|Cell Ontology]]&lt;br /&gt;
* [[SO:Main_Page|Sequence Types and Features Ontology]]&lt;br /&gt;
* [[Disease:Main_Page|Disease Ontology]], and other ontologies pertaining to diseases and disorders&lt;br /&gt;
* [[OCI:Main_Page|Ontology of Clinical Investigation]]&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Main_Page&amp;diff=13112</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Main_Page&amp;diff=13112"/>
		<updated>2024-03-30T04:21:29Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* Software */ remove link to sparql&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the '''National Center for Biomedical Ontology (NCBO) public wiki'''. This wiki provides user guides and technical documentation for software developed by NCBO.&lt;br /&gt;
&lt;br /&gt;
Note that as the NCBO project funding has ended, documentation for some projects or project details (n.b., NCBO BioPortal details) may be out of date. Pease send email to the BioPortal Support List &lt;br /&gt;
&lt;br /&gt;
Please visit our [http://www.bioontology.org main site] for more information about NCBO.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
To follow is a list of software developed and maintained by NCBO:&lt;br /&gt;
&lt;br /&gt;
* [https://bioportal.bioontology.org BioPortal] - A web-based application for accessing and sharing biomedical ontologies&lt;br /&gt;
* [https://data.bioontology.org/ BioPortal REST API] - A RESTful API to access BioPortal content&lt;br /&gt;
* [[:Category:NCBO_Virtual_Appliance|BioPortal Virtual Appliance]] - Contains BioPortal and the BioPortal REST API, runs on Linux&lt;br /&gt;
&lt;br /&gt;
Please refer to our [[BioPortal_Release_Notes|release notes]] page for change logs.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[BioPortal Help|BioPortal]] - get help with the user interface and instructions for commonly performed tasks&lt;br /&gt;
* [http://data.bioontology.org/documentation BioPortal REST API] - see a list of available endpoints with usage instructions&lt;br /&gt;
* [[:Category:NCBO_Virtual_Appliance|BioPortal Virtual Appliance]] - read a getting started guide and installation instructions&lt;br /&gt;
* [[Using_NCBO_Technology_In_Your_Project|Using NCBO technologies in your project]] - get ideas for how to employ NCBO technologies in your website or application&lt;br /&gt;
* [[SKOSSupport|SKOS support]] - view the specifics of BioPortal's support for SKOS vocabularies&lt;br /&gt;
* [[SPARQL_BioPortal|BioPortal SPARQL Endpoint]] - read about programmatic submission of SPARQL queries and the named graph structure&lt;br /&gt;
* [[NCBO_Developer_Documentation|Developer documentation]]&lt;br /&gt;
&lt;br /&gt;
=== Mail Support ===&lt;br /&gt;
&lt;br /&gt;
* [https://mailman.stanford.edu/mailman/listinfo/bioontology-support BioPortal Support List] - sign up to see and request community support for BioPortal&lt;br /&gt;
* [https://mailman.stanford.edu/pipermail/bioontology-support/ BioPortal mailman email archives] - the usual mailman archive format for BioPortal support list&lt;br /&gt;
* [http://ncbo-support.2288202.n4.nabble.com/ BioPortal nabble email archives] - BioPortal support email list archives in easier format to search and navigate&lt;br /&gt;
&lt;br /&gt;
== Ontology Development Projects ==&lt;br /&gt;
&lt;br /&gt;
These are some of the ontology development projects that NCBO participated in:&lt;br /&gt;
 &lt;br /&gt;
* [http://bioportal.bioontology.org/ontologies/BRO Biomedical Resource Ontology]&lt;br /&gt;
* [http://bioportal.bioontology.org/ontologies/TMO Translational Medicine Ontology] &lt;br /&gt;
* [[NPO:Main_Page|NanoParticle Ontology]] &lt;br /&gt;
* [http://bioportal.bioontology.org/ontologies/PATO Phenotypic Quality Ontology]&lt;br /&gt;
* [[RO:Main_Page|OBO Relations Ontology]]&lt;br /&gt;
* [[CARO:Main_Page|Common Anatomy Reference Ontology]]&lt;br /&gt;
* [[CL:Main_Page|Cell Ontology]]&lt;br /&gt;
* [[SO:Main_Page|Sequence Types and Features Ontology]]&lt;br /&gt;
* [[Disease:Main_Page|Disease Ontology]], and other ontologies pertaining to diseases and disorders&lt;br /&gt;
* [[OCI:Main_Page|Ontology of Clinical Investigation]]&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Help&amp;diff=13111</id>
		<title>BioPortal Help</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Help&amp;diff=13111"/>
		<updated>2024-03-29T21:24:34Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: remove resource index tab&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== User Interface ==&lt;br /&gt;
=== Home Page ===&lt;br /&gt;
&lt;br /&gt;
BioPortal provides access to commonly used biomedical ontologies and to tools for working with them. BioPortal allows you to &lt;br /&gt;
* [[#Browse Tab|browse the library]] of ontologies&lt;br /&gt;
* [[#Search Tab|search for a term]] across multiple ontologies&lt;br /&gt;
* [[#Mappings Tab|browse mappings]] between terms in different ontologies&lt;br /&gt;
* [[#Recommender Tab|receive recommendations]] on which ontologies are most relevant for a corpus&lt;br /&gt;
* [[#Annotator Tab|annotate text]] with terms from ontologies&lt;br /&gt;
* [[#Projects Tab|browse a selection of projects]] that use BioPortal resources&lt;br /&gt;
&lt;br /&gt;
All information available through the BioPortal Web site is also available through the NCBO Web service REST API. Please see [http://data.bioontology.org/documentation REST API documentation] for more information.&lt;br /&gt;
&lt;br /&gt;
=== Browse Tab ===&lt;br /&gt;
&lt;br /&gt;
Browse our library of Biomedical ontologies and submit your own ontology. This page displays some summary information about each ontology. More detailed summary information is available on the ontology summary page for each ontology. You can reach this page by clicking on the ontology name link.&lt;br /&gt;
&lt;br /&gt;
To '''find a particular ontology quickly''', begin typing the ontology name or abbreviation in the “Filter by Text” field.  You can also narrow the list of ontologies shown by selecting a specific “category” (a domain) or a “group” to which the ontology belongs. To '''submit an ontology''' press the “Submit New Ontology” button. You must be logged in to BioPortal to submit an ontology. You can subscribe to '''receive RSS updates''' when any ontology in the system changes by clicking the subscribe link. You can subscribe to updates for a particular ontology from the summary page for that ontology. To go to the summary page click on the ontology name link.&lt;br /&gt;
&lt;br /&gt;
Some submitters want to control who can browse the terms in their ontology. These ontologies are marked with visibility “Private” or “Licensed”. To browse the terms in these ontologies you must be both &lt;br /&gt;
* logged in to BioPortal&lt;br /&gt;
* granted access to the ontology&lt;br /&gt;
For '''private ontologies''', the ontology submitter directly controls access to the ontology. Please contact the submitter to gain access to a private ontology. Contact information for the ontology is available on the ontology summary page. For '''licensed ontologies''', the submitter indirectly controls access to the ontology. When you attempt to access a licensed ontology, the system will prompt you to enter the license information required by the submitter. When you have entered the required information, the system will allow you to access the ontology. In addition, there are '''&amp;quot;summary only&amp;quot; ontologies'''. The terms for these ontologies are not available in BioPortal at all. Please contact the ontology submitter for more information about these ontologies.&lt;br /&gt;
&lt;br /&gt;
To '''access ontologies programmatically''', see our [http://data.bioontology.org/documentation#nav_resource_endpoints Resources REST API documentation] (then look under Media Types).&lt;br /&gt;
&lt;br /&gt;
=== Search Tab ===&lt;br /&gt;
&lt;br /&gt;
Enter text and find terms across multiple terminologies that contain this text. The names, ids, synonyms, properties for a term are searched for matches to the entered text, and the best match (only) from each ontology is displayed.&lt;br /&gt;
&lt;br /&gt;
To '''find a term in any ontology''' enter the name of the term in the search box and simply hit the Search button. The system looks for matches in the term name, synonyms, term ids, and in property values. You can filter the returned values by ontology or by the type of match by selecting one of the filter links in the output table. If you want to '''search only in a subset of ontologies''' you can specify the desired ontologies in the Ontologies box. (Note that it is no faster to search a subset than to search all ontologies.) Simply type the ontology name or acronym to chose the desired ontology. You can also select a set of ontologies from a list of all ontologies using the “select from list” link. &lt;br /&gt;
&lt;br /&gt;
Note that, for performance reasons, only the top 100 matches (that is, matched ontologies) are returned. If one or more ontologies are specified in the Ontologies box, all matches are returned. &lt;br /&gt;
&lt;br /&gt;
To '''search programmatically''' see our [http://data.bioontology.org/documentation#nav_search Search REST API documentation].&lt;br /&gt;
&lt;br /&gt;
=== Mappings Tab ===&lt;br /&gt;
&lt;br /&gt;
Mappings are associations between two or more terms in different ontologies. This association typically, but not always, represents a degree of similarity between the terms. The author of the mapping defines the semantics of a particular mapping. It is also usual for a mapping to be bi-directional, but again, this is not required. The mapping author defines directionality (for details, please see our [http://www.bioontology.org/wiki/index.php/BioPortal_Mappings Mapping Documentation]).&lt;br /&gt;
&lt;br /&gt;
To '''browse mappings''' for an ontology, select the ontology from the drop-down list. You will then see a table showing all ontologies for which at least one mapping exists between that ontology and the ontology you selected. Select an ontology from this table to browse the mappings between the two ontologies.&lt;br /&gt;
&lt;br /&gt;
To '''access mappings programmatically''', please see our [http://data.bioontology.org/documentation#Mapping Mappings REST API documentation].&lt;br /&gt;
&lt;br /&gt;
=== Recommender Tab ===&lt;br /&gt;
&lt;br /&gt;
The Recommender takes as input a text or a list of keywords and '''suggests appropriate ontologies''' for it.&lt;br /&gt;
&lt;br /&gt;
The ontology ranking algorithm used by the Recommender evaluates the adequacy of each ontology to the input using a combination of four evaluation criteria:&lt;br /&gt;
* '''Coverage''': At what extent the ontology represents the input? The Recommender invokes the NCBO Annotator service to obtain all the annotations for the input and then uses those annotations to compute a coverage score for each ontology.&lt;br /&gt;
* '''Acceptance''': How well-known and trusted is the ontology by the biomedical community? The number of visits to the ontology page in BioPortal and the presence or absence of the ontology in UMLS are used to compute an acceptance score for each ontology.&lt;br /&gt;
* '''Detail of knowledge''': What is the level of detail provided by the ontology for the input data? It is computed using the number of definitions, synonyms and properties of the ontology classes that cover the input data.&lt;br /&gt;
* '''Specialization''': How specialized is the ontology to the input data’s domain? It is calculated using the number and type of the annotations done with the ontology and the position of each annotated class in the ontology hierarchy. The result is normalized by the size of the ontology, in order to identify small ontologies that are specialized to the input data.&lt;br /&gt;
&lt;br /&gt;
For each of these four criteria, a score is computed. Then, the scores obtained are weighted and aggregated into a final score for the ontology. The default weights used to aggregate the scores can be changed at the advanced options section.&lt;br /&gt;
&lt;br /&gt;
Note that besides the ontologies output, which returns a ranked list of ontologies, the Recommender also has an ontology sets output, which allows to find those ontology sets that improve the coverage provided by individual ontologies.&lt;br /&gt;
&lt;br /&gt;
To '''retrieve ontology recommendations programmatically''', please see our [http://data.bioontology.org/documentation#nav_recommender Ontology Recommender REST API documentation].&lt;br /&gt;
&lt;br /&gt;
To '''cite the NCBO Ontology Recommender''', please use:&lt;br /&gt;
&lt;br /&gt;
Martínez-Romero, M., Jonquet, C., O’Connor, M. J., Graybeal, J., Pazos, A., Musen, M. A. (2017). NCBO Ontology Recommender 2.0: An Enhanced Approach For Biomedical Ontology Recommendation. Journal of Biomedical Semantics, 8(21), 1-22 (https://jbiomedsem.biomedcentral.com/articles/10.1186/s13326-017-0128-y).&lt;br /&gt;
&lt;br /&gt;
=== Annotator Tab ===&lt;br /&gt;
&lt;br /&gt;
To '''generate annotations for text''', simply enter text in the box and press the submit button. The system matches words in the text to terms in ontologies by doing an exact string comparison (a “direct” match) between the text and ontology term names, synonyms, and ids. &lt;br /&gt;
&lt;br /&gt;
In addition to the direct matches, the user may '''expand the set of matches''' by including matches from mapped terms and from hierarchical expansion. For most ontologies (OWL and UMLS RRF) the system performs the hierarchical expansion on the superclass (“is-a”) relationship. For OBO ontologies the hierarchical expansion also includes the part-of relationship.  You use the “number of levels” field to control the number of levels up the hierarchy for which the system will return terms for a given match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To '''generate annotations programmatically''' see the [http://www.bioontology.org/wiki/index.php/Annotator_User_Guide REST API documentation].&lt;br /&gt;
&lt;br /&gt;
Further information about the workings of the Annotator is available at [http://www.ncbi.nlm.nih.gov/pubmed/19761568 Shah et al BMC Bioinformatics. 2009 Sep 17;10 Suppl 9:S14]&lt;br /&gt;
&lt;br /&gt;
=== Projects Tab ===&lt;br /&gt;
&lt;br /&gt;
This page shows selected projects which make use of BioPortal technology. To '''add your project''' to this list press the &amp;quot;Create New Project&amp;quot; button. You must be logged in to BioPortal to create a new project.&lt;br /&gt;
&lt;br /&gt;
== Common Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Submitting an ontology ===&lt;br /&gt;
If you haven’t already signed up for an account at the BioPortal website, you’ll need to do that first:&lt;br /&gt;
&lt;br /&gt;
http://bioportal.bioontology.org/accounts/new&lt;br /&gt;
&lt;br /&gt;
Once you have an account and are logged in, navigate to the Browse page:&lt;br /&gt;
&lt;br /&gt;
http://bioportal.bioontology.org/ontologies&lt;br /&gt;
&lt;br /&gt;
… and click the &amp;quot;Submit New Ontology&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
In the resulting form, you’ll be asked to fill out some metadata about your ontology, e.g., name, acronym, etc.  If you do not want the public to see your ontology, you can specify it as private, then indicate what accounts should have access to it. &lt;br /&gt;
&lt;br /&gt;
Once you’ve filled out the form, click the &amp;quot;Create ontology&amp;quot; button.  This will create the ontology summary page for your ontology.  Note that so far you are only describing the ontology in general terms, not submitting a specific file. &lt;br /&gt;
&lt;br /&gt;
Finally on the summary page, you can click the &amp;quot;Add submission” link.  This new submission form is where you’ll be able to specify your ontology file, as well as things like the description of this update, the version number, and so on. &lt;br /&gt;
&lt;br /&gt;
Once you have created the ontology submission, usually right away you can access its basic information and possibly its classes, if there are not too many of them. More detailed indexing takes place asynchronously, often scheduled at night. All of that should be finished by the next day (Pacific Time); if not, send an email to the support list.&lt;br /&gt;
&lt;br /&gt;
==== Updating an existing ontology submission ==== &lt;br /&gt;
If your ontology already is in BioPortal and you have a new version, it can be updated in one of two ways if you are logged in as a manager of the ontology. &lt;br /&gt;
&lt;br /&gt;
If the original submission was set to automatically update from a source URL, you can learn the source URL using the Submissions edit icon (pencil icon to the right of the Submissions header on the Summary page). BioPortal examines the content at this URL nightly, and re-submits the content if it has changed in any way (determined by the checksum). If the updated submission does not parse, the ontology manager(s) should be notified via email.&lt;br /&gt;
&lt;br /&gt;
If the original submission was not set to automatically update, or if you want to update the ontology immediately, you can upload the ontology directly from your computer. This will begin the upload process immediately, and schedule the ontology to be parsed shortly thereafter. (After the successful submission, don't forget to re-enter the URL and setting for the automatic update process, if you want that to be enabled.) Usually ontology parsing is complete within a a few minutes to an  hour, except for large ontologies; ontology indexing and automatic mappings occur overnight (Pacific Time).&lt;br /&gt;
&lt;br /&gt;
To begin this process, click on the plus sign to the right of the Submissions header on the Summary page. This gives you a chance to update the metadata for the submission, and change the way it is uploaded to BioPortal (manually from a local file, or automatically from a URL).&lt;br /&gt;
&lt;br /&gt;
==== Updating metadata for your submission ====&lt;br /&gt;
If you just want to change the metadata for your ontology's latest submission, use the Submissions edit (pencil) icon to the right of the Submissions header on the Summary page. Although the UI implies the new ontology will be downloaded, this should not occur if you do not change the download settings; only your metadata changes will be saved.&lt;br /&gt;
&lt;br /&gt;
==== Update ontology settings ====&lt;br /&gt;
To change the settings for the ontology—this includes things like name, administrators, viewing restrictions, categories, and whether the ontology is a View of another ontology—click on the edit (pencil) icon to the far right of the ontology name (at the top of the page). &lt;br /&gt;
&lt;br /&gt;
Note that you can not change the ontology acronym, because BioPortal uses this as a primary key and identifier for the ontology. If you want your ontology to have another acronym, you would need to resubmit it as a new ontology, using the new acronym, and then ask us to delete or deprecate the previous ontology.&lt;br /&gt;
&lt;br /&gt;
=== Viewing and editing mappings ===&lt;br /&gt;
To view all mappings for an ontology, chose the ontology from the Browse page and then select &amp;quot;Mappings&amp;quot; from the drop-down list.&lt;br /&gt;
&lt;br /&gt;
To view the notes for a particular term, navigate to the ontology and term (using the &amp;quot;Browse&amp;quot; tab and select the terms item from the dropdown) and then select the &amp;quot;Mappings&amp;quot; tab in the right-hand panel.&lt;br /&gt;
&lt;br /&gt;
=== Viewing and editing notes ===&lt;br /&gt;
To view all notes for an ontology, chose the ontology from the Browse page and then select &amp;quot;Notes&amp;quot; from the drop-down list.&lt;br /&gt;
&lt;br /&gt;
To view the notes for a particular term, navigate to the ontology and term (using the &amp;quot;Browse&amp;quot; tab and select the terms item from the dropdown) and then select the &amp;quot;Notes&amp;quot; tab in the right-hand panel.&lt;br /&gt;
&lt;br /&gt;
=== Viewing and editing reviews ===&lt;br /&gt;
Navigate to the ontology summary page by selecting the ontology name from the Browse tab. Create a review by pressing the &amp;quot;Create Review&amp;quot; button near the top of the page.&lt;br /&gt;
&lt;br /&gt;
=== Visualizing concepts and mappings ===&lt;br /&gt;
With the BioPortal user interface, you can [http://www.bioontology.org/wiki/index.php/Visualizing_Concepts_and_Mappings visualize ontology concepts and their mappings with other ontologies].&lt;br /&gt;
&lt;br /&gt;
== Programming with the BioPortal API ==&lt;br /&gt;
Documentation about how to use the BioPortal REST API to access information is available here:&lt;br /&gt;
&lt;br /&gt;
http://data.bioontology.org/documentation&lt;br /&gt;
&lt;br /&gt;
=== Getting an API key ===&lt;br /&gt;
Use of the BioPortal REST API requires an API key.  &lt;br /&gt;
&lt;br /&gt;
To retrieve your API key, log into your account on the [http://bioportal.bioontology.org BioPortal website].  If you don't have an account, you'll need to [http://bioportal.bioontology.org/accounts/new create one].&lt;br /&gt;
&lt;br /&gt;
Your API key will be listed in plain text on your account page.&lt;br /&gt;
&lt;br /&gt;
== Glossary ==&lt;br /&gt;
; &amp;lt;span id=&amp;quot;glossary_class&amp;quot;&amp;gt;class&amp;lt;/span&amp;gt;: A concept in the domain of the ontology. Used within BioPortal, class is a synonym for term or concept. Term is the preferred BioPortal label.&lt;br /&gt;
; concept: (from SKOS documentation) A concept is an idea or notion; a unit of thought. &lt;br /&gt;
; CUI:  Abbreviation for &amp;quot;Concept Unique Identifier&amp;quot;. These values that are assigned by UMLS for all terms in its ontologies. A CUI represents a &amp;quot;UMLS concept&amp;quot;. An ontology term may be assigned to more than one CUI. The assignment of terms to CUI is intended to allow the creation of maps between terms in different ontologies.  &lt;br /&gt;
; deprecated term: synonym for &amp;quot;obsolete term&amp;quot; in some ontologies.&lt;br /&gt;
; group: a collection of ontologies that are typically associated with some outside group or organization. &lt;br /&gt;
; &amp;lt;span id=&amp;quot;glossary_obsolete_term&amp;quot;&amp;gt;obsolete term&amp;lt;/span&amp;gt;: A term that the authors of the ontology have flagged as being &amp;quot;obsolete&amp;quot; and which they recommend that people not use. These terms are often left in ontologies (rather than removing them entirely) so that existing systems that depend on them will continue to function.&lt;br /&gt;
; mapping: Asserted relationship between two terms in different ontologies. The nature of the exact relationship is left to the mapping author. The most common relationship for mappings between terms is &amp;quot;same as&amp;quot;.&lt;br /&gt;
; preferred name : Human readable label for a term that the authors of the ontology suggest be used when referring to the term. Alternate, non-preferred, names are synonyms.&lt;br /&gt;
; &amp;lt;span id=&amp;quot;glossary_property&amp;quot;&amp;gt;property&amp;lt;/span&amp;gt;: Named association between two entities. Examples are &amp;quot;definition&amp;quot; (a relation between a term and some text) and &amp;quot;part-of&amp;quot; (a relation between two terms). &lt;br /&gt;
; resource: Biomedical resource (publication, database) that has been indexed with the ontologies in BioPortal.&lt;br /&gt;
; &amp;lt;div id=&amp;quot;slice_definition&amp;quot;&amp;gt;slice&amp;lt;/span&amp;gt;: An alternate entry point into BioPortal which has been configured to display and use a subset of the available ontologies. The slice is accessed via URL of the form http://&amp;lt;slice-name&amp;gt;.bioportal.bioontology.org . There is currently no way for an end user to create or configure slice. However, you may send a request to support@bioontology.org and request that a new slice be created for you.&lt;br /&gt;
; synonym: Alternate name for a term. Every term has a single &amp;quot;preferred&amp;quot; name and may have any number of synonyms.&lt;br /&gt;
; term: Concept in the domain of the ontology. Within BioPortal, term is a synonym for class or concept. Term is the preferred label.&lt;br /&gt;
; term mappings: Set of mappings for a given term to terms other ontologies. &lt;br /&gt;
; term resources: Set of resources that contain annotations for a given term.&lt;br /&gt;
&lt;br /&gt;
== BioPortal Frequently Asked Questions (FAQ) ==&lt;br /&gt;
&lt;br /&gt;
Many specific questions are addressed at our [https://www.bioontology.org/wiki/BioPortal_FAQ FAQ for the BioPortal system].&lt;br /&gt;
 &lt;br /&gt;
== How to cite NCBO and BioPortal ==&lt;br /&gt;
=== NCBO ===&lt;br /&gt;
Musen MA, Noy NF, Shah NH, Whetzel PL, Chute CG, Story MA, Smith B; NCBO team. The National Center for Biomedical Ontology. J Am Med Inform Assoc. 2012 Mar-Apr;19(2):190-5. Epub 2011 Nov 10.&lt;br /&gt;
&lt;br /&gt;
===NCBO Ontology Recommender===&lt;br /&gt;
Martínez-Romero, M., Jonquet, C., O’Connor, M. J., Graybeal, J., Pazos, A., Musen, M. A. (2017). NCBO Ontology Recommender 2.0: An Enhanced Approach For Biomedical Ontology Recommendation. Journal of Biomedical Semantics, 8(21), 1-22 (https://jbiomedsem.biomedcentral.com/articles/10.1186/s13326-017-0128-y).&lt;br /&gt;
&lt;br /&gt;
=== BioPortal ===&lt;br /&gt;
Whetzel PL, Noy NF, Shah NH, Alexander PR, Nyulas C, Tudorache T, Musen MA. BioPortal: enhanced functionality via new Web services from the National Center for Biomedical Ontology to access and use ontologies in software applications. Nucleic Acids Res. 2011 Jul;39(Web Server issue):W541-5. Epub 2011 Jun 14.&lt;br /&gt;
&lt;br /&gt;
=== SPARQL Endpoint ===&lt;br /&gt;
Salvadores M, Horridge M, Alexander PR, Fergerson RW, Musen MA, and Noy NF. Using SPARQL to Query BioPortal Ontologies and Metadata. International Semantic Web Conference. Boston US. LNCS 7650, pp. 180195, 2012.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=13069</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=13069"/>
		<updated>2023-03-23T22:58:13Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
[[Category:Migrated to GitHub]]&lt;br /&gt;
&lt;br /&gt;
This content has been moved! Please find the new content for the 3.0 version of the Virtual Appliance at our new [https://ontoportal.github.io/documentation/administration OntoPortal Virtual Appliance Administration pages]. &lt;br /&gt;
&lt;br /&gt;
In particular '''this content''' is mostly at the '''[https://ontoportal.github.io/documentation/administration/general/faq Frequently Asked Questions (FAQ) page]'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= '''ARCHIVAL''' ONTOPORTAL VIRTUAL APPLIANCE v2.5 FAQ '''ARCHIVAL''' =&lt;br /&gt;
&lt;br /&gt;
This page is the archival FAQ for the the Ontoportal Virtual Appliance v2.5.&lt;br /&gt;
&lt;br /&gt;
The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
== How do I access Virtual Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Virtual Appliance Web UI can be accessed by going to http://{your_appliance_ip_or_domain_name} on your web browser.&amp;lt;br&amp;gt;&lt;br /&gt;
API can be accessed at http://{your_appliance_ip_or_domain_name}:8080 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can get IP address of the Appliance with the following methods:&lt;br /&gt;
* Local IP Address from terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;ip address show eth0 | awk '/inet / {print $2}' | cut -d/ -f1'&amp;lt;/code&amp;gt; &lt;br /&gt;
* External IP address from the terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;curl http://ipecho.net/plain; echo&amp;lt;/code&amp;gt;&lt;br /&gt;
* Vmware Appliance: &lt;br /&gt;
Check 'IP Addresses' on the summary page of the appliance.  Please note that Virtual Appliance does not come with vmware tools installed so IP Address would not be displayed until vmware tools are installed.   &lt;br /&gt;
* Amazon AWS:&lt;br /&gt;
use Public IP Addresses or Public DNS listed in your EC2 management console. &lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I use the Annotator and Recommender on their own? ==&lt;br /&gt;
&lt;br /&gt;
Because services like the Annotator and Recommender depend on the Ontologies API in BioPortal, you can not usefully install those services in a stand-alone way without also installing the core BioPortal software and ontologies.&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface. Categories and groups can be added using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface. Slices can be added using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Programmatic migrations are not officially supported (&amp;quot;Ontologies can be manually downloaded and added using the Web UI&amp;quot;) but we included a script for importing ontologies.&lt;br /&gt;
&lt;br /&gt;
/srv/ncbo/virtual_appliance/deployment/utils/bioportal_ontologies_import.rb,  you will need to modify SOURCE_API, SOURCE_APIKEY and ONTOLOGIES_TO_IMPORT variables.&lt;br /&gt;
&lt;br /&gt;
== How can I restrict ontology downloads via the UI? ==&lt;br /&gt;
&lt;br /&gt;
This line of code should be modified to include the acronyms of the ontologies for which you want to restrict downloads via the UI:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/bioportal_web_ui/blob/master/app/views/ontologies/_submissions.html.haml#L32&lt;br /&gt;
&lt;br /&gt;
This will prevent the “Downloads” column in the Submissions table from appearing on ontology summary pages.&lt;br /&gt;
&lt;br /&gt;
If you want to restrict download via the REST endpoint, you need to modify your environment configuration files (e.g., production.rb, staging.rb, etc.) in your ontologies_api project.  The production.rb file should contain a “config.restrict_download” property -- there’s an example of what it should look like in the sample configuration file in GitHub:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/ontologies_api/blob/master/config/environments/config.rb.sample#L38&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ontoportal user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and an OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://{your_appliance_ip_or_domain_name}:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance? ===&lt;br /&gt;
&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx). Please change this as soon as you install the virtual appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=13068</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=13068"/>
		<updated>2023-03-23T22:56:09Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
[[Category:Migrated to GitHub]]&lt;br /&gt;
&lt;br /&gt;
This content has been moved! Please find the new content for the 3.0 version of the Virtual Appliance at our new [https://ontoportal.github.io/documentation/administration OntoPortal Virtual Appliance Administration pages]. &lt;br /&gt;
&lt;br /&gt;
In particular '''this content''' is mostly at the '''[https://https://ontoportal.github.io/documentation/administration/general/faq Frequently Asked Questions (FAQ) page]'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= '''ARCHIVAL''' ONTOPORTAL VIRTUAL APPLIANCE v2.5 FAQ '''ARCHIVAL''' =&lt;br /&gt;
&lt;br /&gt;
This page is the archival FAQ for the the Ontoportal Virtual Appliance v2.5.&lt;br /&gt;
&lt;br /&gt;
The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
== How do I access Virtual Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Virtual Appliance Web UI can be accessed by going to http://{your_appliance_ip_or_domain_name} on your web browser.&amp;lt;br&amp;gt;&lt;br /&gt;
API can be accessed at http://{your_appliance_ip_or_domain_name}:8080 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can get IP address of the Appliance with the following methods:&lt;br /&gt;
* Local IP Address from terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;ip address show eth0 | awk '/inet / {print $2}' | cut -d/ -f1'&amp;lt;/code&amp;gt; &lt;br /&gt;
* External IP address from the terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;curl http://ipecho.net/plain; echo&amp;lt;/code&amp;gt;&lt;br /&gt;
* Vmware Appliance: &lt;br /&gt;
Check 'IP Addresses' on the summary page of the appliance.  Please note that Virtual Appliance does not come with vmware tools installed so IP Address would not be displayed until vmware tools are installed.   &lt;br /&gt;
* Amazon AWS:&lt;br /&gt;
use Public IP Addresses or Public DNS listed in your EC2 management console. &lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I use the Annotator and Recommender on their own? ==&lt;br /&gt;
&lt;br /&gt;
Because services like the Annotator and Recommender depend on the Ontologies API in BioPortal, you can not usefully install those services in a stand-alone way without also installing the core BioPortal software and ontologies.&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface. Categories and groups can be added using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface. Slices can be added using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Programmatic migrations are not officially supported (&amp;quot;Ontologies can be manually downloaded and added using the Web UI&amp;quot;) but we included a script for importing ontologies.&lt;br /&gt;
&lt;br /&gt;
/srv/ncbo/virtual_appliance/deployment/utils/bioportal_ontologies_import.rb,  you will need to modify SOURCE_API, SOURCE_APIKEY and ONTOLOGIES_TO_IMPORT variables.&lt;br /&gt;
&lt;br /&gt;
== How can I restrict ontology downloads via the UI? ==&lt;br /&gt;
&lt;br /&gt;
This line of code should be modified to include the acronyms of the ontologies for which you want to restrict downloads via the UI:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/bioportal_web_ui/blob/master/app/views/ontologies/_submissions.html.haml#L32&lt;br /&gt;
&lt;br /&gt;
This will prevent the “Downloads” column in the Submissions table from appearing on ontology summary pages.&lt;br /&gt;
&lt;br /&gt;
If you want to restrict download via the REST endpoint, you need to modify your environment configuration files (e.g., production.rb, staging.rb, etc.) in your ontologies_api project.  The production.rb file should contain a “config.restrict_download” property -- there’s an example of what it should look like in the sample configuration file in GitHub:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/ontologies_api/blob/master/config/environments/config.rb.sample#L38&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ontoportal user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and an OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://{your_appliance_ip_or_domain_name}:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance? ===&lt;br /&gt;
&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx). Please change this as soon as you install the virtual appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=13067</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=13067"/>
		<updated>2023-03-23T22:53:20Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: update links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
[[Category:Migrated to GitHub]]&lt;br /&gt;
&lt;br /&gt;
This content has been moved! Please find the new content for the 3.0 version of the Virtual Appliance at our new [https://ontoportal.github.io/administration/ OntoPortal Virtual Appliance Administration pages]. &lt;br /&gt;
&lt;br /&gt;
In particular '''this content''' is mostly at the '''[https://https://ontoportal.github.io/documentation/administration/general/faq Frequently Asked Questions (FAQ) page]'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= '''ARCHIVAL''' ONTOPORTAL VIRTUAL APPLIANCE v2.5 FAQ '''ARCHIVAL''' =&lt;br /&gt;
&lt;br /&gt;
This page is the archival FAQ for the the Ontoportal Virtual Appliance v2.5.&lt;br /&gt;
&lt;br /&gt;
The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
== How do I access Virtual Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Virtual Appliance Web UI can be accessed by going to http://{your_appliance_ip_or_domain_name} on your web browser.&amp;lt;br&amp;gt;&lt;br /&gt;
API can be accessed at http://{your_appliance_ip_or_domain_name}:8080 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can get IP address of the Appliance with the following methods:&lt;br /&gt;
* Local IP Address from terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;ip address show eth0 | awk '/inet / {print $2}' | cut -d/ -f1'&amp;lt;/code&amp;gt; &lt;br /&gt;
* External IP address from the terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;curl http://ipecho.net/plain; echo&amp;lt;/code&amp;gt;&lt;br /&gt;
* Vmware Appliance: &lt;br /&gt;
Check 'IP Addresses' on the summary page of the appliance.  Please note that Virtual Appliance does not come with vmware tools installed so IP Address would not be displayed until vmware tools are installed.   &lt;br /&gt;
* Amazon AWS:&lt;br /&gt;
use Public IP Addresses or Public DNS listed in your EC2 management console. &lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I use the Annotator and Recommender on their own? ==&lt;br /&gt;
&lt;br /&gt;
Because services like the Annotator and Recommender depend on the Ontologies API in BioPortal, you can not usefully install those services in a stand-alone way without also installing the core BioPortal software and ontologies.&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface. Categories and groups can be added using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface. Slices can be added using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Programmatic migrations are not officially supported (&amp;quot;Ontologies can be manually downloaded and added using the Web UI&amp;quot;) but we included a script for importing ontologies.&lt;br /&gt;
&lt;br /&gt;
/srv/ncbo/virtual_appliance/deployment/utils/bioportal_ontologies_import.rb,  you will need to modify SOURCE_API, SOURCE_APIKEY and ONTOLOGIES_TO_IMPORT variables.&lt;br /&gt;
&lt;br /&gt;
== How can I restrict ontology downloads via the UI? ==&lt;br /&gt;
&lt;br /&gt;
This line of code should be modified to include the acronyms of the ontologies for which you want to restrict downloads via the UI:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/bioportal_web_ui/blob/master/app/views/ontologies/_submissions.html.haml#L32&lt;br /&gt;
&lt;br /&gt;
This will prevent the “Downloads” column in the Submissions table from appearing on ontology summary pages.&lt;br /&gt;
&lt;br /&gt;
If you want to restrict download via the REST endpoint, you need to modify your environment configuration files (e.g., production.rb, staging.rb, etc.) in your ontologies_api project.  The production.rb file should contain a “config.restrict_download” property -- there’s an example of what it should look like in the sample configuration file in GitHub:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/ontologies_api/blob/master/config/environments/config.rb.sample#L38&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ontoportal user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and an OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://{your_appliance_ip_or_domain_name}:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance? ===&lt;br /&gt;
&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx). Please change this as soon as you install the virtual appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Importing_UMLS_To_Virtual_Appliance&amp;diff=13066</id>
		<title>Importing UMLS To Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Importing_UMLS_To_Virtual_Appliance&amp;diff=13066"/>
		<updated>2023-03-23T22:52:28Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
[[Category:Migrated to GitHub]]&lt;br /&gt;
&lt;br /&gt;
This content has been moved! Please find the new content for the 3.0 version of the Virtual Appliance at our new [https://ontoportal.github.io/documentation/administration OntoPortal Virtual Appliance Administration pages]. &lt;br /&gt;
&lt;br /&gt;
In particular '''this content''' is mostly at the '''[https://ontoportal.github.io/documentation/administration/ontologies/handling_umls Submitting UMLS Content page]'''.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Google_Analytics&amp;diff=13065</id>
		<title>Google Analytics</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Google_Analytics&amp;diff=13065"/>
		<updated>2023-03-23T22:47:53Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
[[Category:Migrated to GitHub]]&lt;br /&gt;
&lt;br /&gt;
This content has been moved! Please find the new content for the 3.0 version of the Virtual Appliance at our new [https://ontoportal.github.io/documentation/administration OntoPortal Virtual Appliance Administration pages]. &lt;br /&gt;
&lt;br /&gt;
In particular '''this content''' is mostly at the '''[https://ontoportal.github.io/documentation/administration/management/google_analytics_management Google Analytics Management page]'''.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Advanced_Administration&amp;diff=13064</id>
		<title>Advanced Administration</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Advanced_Administration&amp;diff=13064"/>
		<updated>2023-03-23T22:47:00Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: update links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
[[Category:Migrated to GitHub]]&lt;br /&gt;
&lt;br /&gt;
This content has been moved! Please visit it at our new [https://ontoportal.github.io/documentation/administration OntoPortal Virtual Appliance Administration pages]. &lt;br /&gt;
&lt;br /&gt;
You can find Advanced content in each of the sections [https://ontoportal.github.io/documentation/administration/steps Installing OntoPortal], [https://ontoportal.github.io/documentation/administration/ontologies Managing Ontologies in OntoPortal], and [https://ontoportal.github.io/documentation/administration/management Managing Your System].&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Annotator_Documentation&amp;diff=13063</id>
		<title>Annotator Documentation</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Annotator_Documentation&amp;diff=13063"/>
		<updated>2023-03-23T22:45:50Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
[[Category:Migrated to GitHub]]&lt;br /&gt;
&lt;br /&gt;
This content has been moved! Please find the new content for the 3.0 version of the Virtual Appliance at our new [https://ontoportal.github.io/documentation/administration OntoPortal Virtual Appliance Administration pages]. &lt;br /&gt;
&lt;br /&gt;
In particular '''this content''' is mostly at the '''[https://ontoportal.github.io/documentation/administration/management/annotator_management Annotator Management page]'''.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Advanced_Administration&amp;diff=13062</id>
		<title>Advanced Administration</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Advanced_Administration&amp;diff=13062"/>
		<updated>2023-03-23T22:44:40Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
[[Category:Migrated to GitHub]]&lt;br /&gt;
&lt;br /&gt;
This content has been moved! Please visit it at our new [https://ontoportal.github.io/documentation/administration/ OntoPortal Virtual Appliance Administration pages]. &lt;br /&gt;
&lt;br /&gt;
You can find Advanced content in each of the sections [https://ontoportal.github.io/documentation/administration/steps/ Installing OntoPortal], [https://ontoportal.github.io/documentation/administration/ontologies/ Managing Ontologies in OntoPortal], and [https://ontoportal.github.io/documentation/administration/management/ Managing Your System].&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12997</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12997"/>
		<updated>2019-10-18T17:25:43Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: Undo revision 12996 by Alexskr (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== OntoPortal Virtual Appliance version 3.0 coming soon ==&lt;br /&gt;
&lt;br /&gt;
After briefly putting out a Release Candidate 1 for the v3.0 Virtual Appliance, we have identified a few more features that we want to complete before making the Appliance available.&lt;br /&gt;
&lt;br /&gt;
We intend to release a Virtual Appliance 3.0 later this fall; watch this space for news.&lt;br /&gt;
&lt;br /&gt;
== OntoPortal Virtual Appliance v2.5 is available ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is the (rebranded) update of the BioPortal Virtual Appliance originally developed by the National Center for Biomedical Ontologies (NCBO). Our current Virtual Appliance software is based on BioPortal's v5.x software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism.&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is a copy of the BioPortal software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.5:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* OntoPortal Web User Interface (including UIs for ontology browse, Annotator and Recommender, ontology tree visualization, graph visualization with BioMixer, and widgets)&lt;br /&gt;
* API services&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator and Recommender. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
&lt;br /&gt;
To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org OntoPortal Support] to initiate your request. You'll then be asked privately for your BioPortal account username, project goals, and reason for preferring the local installation. &lt;br /&gt;
* If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.&lt;br /&gt;
* If your email doesn't include your organization or other means of identifying you, we will ask for that as well.&lt;br /&gt;
* The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
&lt;br /&gt;
The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** OntoPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their OntoPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org OntoPortal Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the OntoPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The OntoPortal Virtual Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.9 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 6.6&lt;br /&gt;
*Java 8&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 4.2.x&lt;br /&gt;
*Ruby 2.3.6&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.3.11&lt;br /&gt;
*nginx 1.12.1&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for OntoPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for Ontoportal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
&lt;br /&gt;
The Virtual Appliance software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
== Archival ==&lt;br /&gt;
&lt;br /&gt;
For documentation of previous (v1.0) Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12996</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12996"/>
		<updated>2019-10-18T17:18:22Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: Reverted edits by Graybeal (talk) to last revision by Alexskr&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ONTOPORTAL VIRTUAL APPLIANCE v3.0 RC1 IS NOW AVAILABLE ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is the (rebranded) update of the BioPortal Virtual Appliance originally developed by the National Center for Biomedical Ontologies (NCBO). Our current Virtual Appliance software is based on BioPortal's v5.x software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism.&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is a copy of the BioPortal software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v3.0 RC1:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* OntoPortal Web User Interface (including UIs for ontology browse, Annotator, Annotator+ and Recommender, ontology tree visualization, graph visualization with BioMixer, and widgets)&lt;br /&gt;
* API services&lt;br /&gt;
* Annotator Plus Proxy&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator and Recommender. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
&lt;br /&gt;
To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org OntoPortal Support] to initiate your request. You'll then be asked privately for your BioPortal account username, project goals, and reason for preferring the local installation. &lt;br /&gt;
* If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.&lt;br /&gt;
* If your email doesn't include your organization or other means of identifying you, we will ask for that as well.&lt;br /&gt;
* The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
&lt;br /&gt;
The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;Ontoportal&amp;lt;/code&amp;gt;&lt;br /&gt;
** OntoPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their OntoPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org OntoPortal Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the OntoPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The OntoPortal Virtual Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 7.6 64-bit running:&lt;br /&gt;
*Tomcat 7.0.x&lt;br /&gt;
*Solr 6.6&lt;br /&gt;
*Java 8&lt;br /&gt;
*MariaDB 5.5.x&lt;br /&gt;
*Rails 4.2.x&lt;br /&gt;
*Ruby 2.5.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 3.2.12&lt;br /&gt;
*nginx 1.15.8&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for OntoPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo oprestart&amp;lt;/code&amp;gt;: manually restart services required for Ontoportal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;sudo opstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;sudo opstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start memcached&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start tomcat&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start mgrep&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start 4s-httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop memcached&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop tomcat&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop mgrep&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop 4s-httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop unicorn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
&lt;br /&gt;
The Virtual Appliance software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
== Older Versions Documentation ==&lt;br /&gt;
&lt;br /&gt;
For documentation of previous &lt;br /&gt;
(v2.5) Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12987 archive].&lt;br /&gt;
(v1.0) Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12990</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12990"/>
		<updated>2019-07-02T21:42:45Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* Basic System Administration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ONTOPORTAL VIRTUAL APPLIANCE v3.0 RC1 IS NOW AVAILABLE ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is the (rebranded) update of the BioPortal Virtual Appliance originally developed by the National Center for Biomedical Ontologies (NCBO). Our current Virtual Appliance software is based on BioPortal's v5.x software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism.&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is a copy of the BioPortal software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v3.0 RC1:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* OntoPortal Web User Interface (including UIs for ontology browse, Annotator, Annotator+ and Recommender, ontology tree visualization, graph visualization with BioMixer, and widgets)&lt;br /&gt;
* API services&lt;br /&gt;
* Annotator Plus Proxy&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator and Recommender. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
&lt;br /&gt;
To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org OntoPortal Support] to initiate your request. You'll then be asked privately for your BioPortal account username, project goals, and reason for preferring the local installation. &lt;br /&gt;
* If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.&lt;br /&gt;
* If your email doesn't include your organization or other means of identifying you, we will ask for that as well.&lt;br /&gt;
* The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
&lt;br /&gt;
The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;Ontoportal&amp;lt;/code&amp;gt;&lt;br /&gt;
** OntoPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their OntoPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org OntoPortal Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the OntoPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The OntoPortal Virtual Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 7.6 64-bit running:&lt;br /&gt;
*Tomcat 7.0.x&lt;br /&gt;
*Solr 6.6&lt;br /&gt;
*Java 8&lt;br /&gt;
*MariaDB 5.5.x&lt;br /&gt;
*Rails 4.2.x&lt;br /&gt;
*Ruby 2.5.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 3.2.12&lt;br /&gt;
*nginx 1.15.8&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for OntoPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo oprestart&amp;lt;/code&amp;gt;: manually restart services required for Ontoportal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;sudo opstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;sudo opstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start memcached&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start tomcat&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start mgrep&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start 4s-httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop memcached&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop tomcat&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop mgrep&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop 4s-httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop unicorn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
&lt;br /&gt;
The Virtual Appliance software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
== Older Versions Documentation ==&lt;br /&gt;
&lt;br /&gt;
For documentation of previous &lt;br /&gt;
(v2.5) Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12987 archive].&lt;br /&gt;
(v1.0) Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12989</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12989"/>
		<updated>2019-07-02T21:41:28Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* VMWare Virtual Appliance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ONTOPORTAL VIRTUAL APPLIANCE v3.0 RC1 IS NOW AVAILABLE ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is the (rebranded) update of the BioPortal Virtual Appliance originally developed by the National Center for Biomedical Ontologies (NCBO). Our current Virtual Appliance software is based on BioPortal's v5.x software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism.&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is a copy of the BioPortal software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v3.0 RC1:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* OntoPortal Web User Interface (including UIs for ontology browse, Annotator, Annotator+ and Recommender, ontology tree visualization, graph visualization with BioMixer, and widgets)&lt;br /&gt;
* API services&lt;br /&gt;
* Annotator Plus Proxy&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator and Recommender. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
&lt;br /&gt;
To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org OntoPortal Support] to initiate your request. You'll then be asked privately for your BioPortal account username, project goals, and reason for preferring the local installation. &lt;br /&gt;
* If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.&lt;br /&gt;
* If your email doesn't include your organization or other means of identifying you, we will ask for that as well.&lt;br /&gt;
* The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
&lt;br /&gt;
The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;Ontoportal&amp;lt;/code&amp;gt;&lt;br /&gt;
** OntoPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their OntoPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org OntoPortal Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the OntoPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The OntoPortal Virtual Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 7.6 64-bit running:&lt;br /&gt;
*Tomcat 7.0.x&lt;br /&gt;
*Solr 6.6&lt;br /&gt;
*Java 8&lt;br /&gt;
*MariaDB 5.5.x&lt;br /&gt;
*Rails 4.2.x&lt;br /&gt;
*Ruby 2.5.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 3.2.12&lt;br /&gt;
*nginx 1.15.8&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for OntoPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;oprestart&amp;lt;/code&amp;gt;: manually restart services required for Ontoportal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;opstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;opstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start memcached&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start tomcat&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start mgrep&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start 4s-httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop memcached&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop tomcat&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop mgrep&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop 4s-httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop unicorn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
&lt;br /&gt;
The Virtual Appliance software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
== Older Versions Documentation ==&lt;br /&gt;
&lt;br /&gt;
For documentation of previous &lt;br /&gt;
(v2.5) Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12987 archive].&lt;br /&gt;
(v1.0) Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12988</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12988"/>
		<updated>2019-07-02T21:40:35Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ONTOPORTAL VIRTUAL APPLIANCE v3.0 RC1 IS NOW AVAILABLE ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is the (rebranded) update of the BioPortal Virtual Appliance originally developed by the National Center for Biomedical Ontologies (NCBO). Our current Virtual Appliance software is based on BioPortal's v5.x software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism.&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance is a copy of the BioPortal software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The OntoPortal Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v3.0 RC1:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* OntoPortal Web User Interface (including UIs for ontology browse, Annotator, Annotator+ and Recommender, ontology tree visualization, graph visualization with BioMixer, and widgets)&lt;br /&gt;
* API services&lt;br /&gt;
* Annotator Plus Proxy&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator and Recommender. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
&lt;br /&gt;
To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org OntoPortal Support] to initiate your request. You'll then be asked privately for your BioPortal account username, project goals, and reason for preferring the local installation. &lt;br /&gt;
* If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.&lt;br /&gt;
* If your email doesn't include your organization or other means of identifying you, we will ask for that as well.&lt;br /&gt;
* The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
&lt;br /&gt;
The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: Ontoportal&lt;br /&gt;
** OntoPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their OntoPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org OntoPortal Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the OntoPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The OntoPortal Virtual Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 7.6 64-bit running:&lt;br /&gt;
*Tomcat 7.0.x&lt;br /&gt;
*Solr 6.6&lt;br /&gt;
*Java 8&lt;br /&gt;
*MariaDB 5.5.x&lt;br /&gt;
*Rails 4.2.x&lt;br /&gt;
*Ruby 2.5.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 3.2.12&lt;br /&gt;
*nginx 1.15.8&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for OntoPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;oprestart&amp;lt;/code&amp;gt;: manually restart services required for Ontoportal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;opstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;opstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start memcached&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start tomcat&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start mgrep&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start 4s-httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl start start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop memcached&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop tomcat&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop mgrep&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop 4s-httpd&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;sudo systemctl stop unicorn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
&lt;br /&gt;
The Virtual Appliance software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
== Older Versions Documentation ==&lt;br /&gt;
&lt;br /&gt;
For documentation of previous &lt;br /&gt;
(v2.5) Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12987 archive].&lt;br /&gt;
(v1.0) Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12967</id>
		<title>BioPortal Virtual Appliance Release Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12967"/>
		<updated>2018-02-21T20:30:02Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page contains software release notes for the [http://www.bioontology.org/wiki/index.php/Category:NCBO_Virtual_Appliance BioPortal Virtual Appliance].''&lt;br /&gt;
&lt;br /&gt;
Please see the [[BioPortal_Release_Notes|main release notes page]] to access release notes for the Stanford-hosted [http://bioportal.bioontology.org/ BioPortal application].&lt;br /&gt;
&lt;br /&gt;
== OntoPortal Appliance 2.5 (2018-Feb) ==&lt;br /&gt;
* ruby version is upgraded to 2.3.6&lt;br /&gt;
* Web UI is updated to v5.4.4&lt;br /&gt;
* API has been updated to v5.6.3&lt;br /&gt;
&lt;br /&gt;
== OntoPortal Appliance 2.5 RC3 (2017-Oct) ==&lt;br /&gt;
==== Changes ====&lt;br /&gt;
* Web UI is updated to 5.2.0 which incorporates appliance specific UI layout.&lt;br /&gt;
* NCBO BioPortal Appliance is rebranded as OntoPortal appliance. &lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC2 (2017-Aug) ==&lt;br /&gt;
====Changes ====&lt;br /&gt;
* Solr has been updated to v6.6 which now runs as a stand alone service instead of running as a tomcat container.   &lt;br /&gt;
* Web UI is updated to v5.1.2&lt;br /&gt;
* API has been updated to v5.4.1&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components.&lt;br /&gt;
==== Known issues ====&lt;br /&gt;
Web UI layout is not customized for the Appliance. It contains original bioportal.bioontology.org footer and header tool menu has a link to non-functioning resource index tool.&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC1 (2017-Aug) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes ====&lt;br /&gt;
* Web UI is updated to V5.1.1  which is a major overhaul of the user interface.  It has been refactored for rails 4.x support and adopted bootstrap UI framework. &lt;br /&gt;
* Bundled-in UMLS Semantic Network (STY) ontology was updated to version 2016AA&lt;br /&gt;
* Appliance includes scripts for facilitating minor in-place updates of the appliance components such as bioportal_web_up, ontologies_api and ncbo_cron.  This is an experimental feature and not guaranteed to work for major appliance upgrades.&lt;br /&gt;
	&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components.&lt;br /&gt;
&lt;br /&gt;
==== Known issues ====&lt;br /&gt;
* Web UI layout is not customized for the Appliance.  It contains original bioportal.bioontology.org footer and header tool menu has a link to non-functioning resource index tool.	&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
* bioportal_web_ui v5.1.1&lt;br /&gt;
* ontologies_api v5.4.0&lt;br /&gt;
* ncbo_cron v5.4.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Application Stack ====&lt;br /&gt;
* CentOS 6.9&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1&lt;br /&gt;
* Ruby 2.3.3&lt;br /&gt;
* Passenger 5.1.6&lt;br /&gt;
* Redis 3.2.9&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.12.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.4 (2015-Apr) ==&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
&lt;br /&gt;
* Ontologies API (REST service) v4.15.3&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, and Annotator UI) v4.15.5&lt;br /&gt;
* BioMixer &lt;br /&gt;
&lt;br /&gt;
Note that release 4.15 was a silent release, implying that it contained bug fixes and other non-visible changes, and the third release number (.3, .5) indicates a patch number.&lt;br /&gt;
&lt;br /&gt;
==== Application server stack ====&lt;br /&gt;
&lt;br /&gt;
* CentOS 6.6&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6.0.24&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1.73&lt;br /&gt;
* Ruby 2.1.5&lt;br /&gt;
* Passenger 4.0.57&lt;br /&gt;
* Redis 2.8.18&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.6.3&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12966</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12966"/>
		<updated>2018-02-21T20:27:26Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= ONTOPORTAL VIRTUAL APPLIANCE v2.5 FAQ =&lt;br /&gt;
This FAQ now covers the Ontoportal Virtual Appliance v2.5 The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
== How do I access Virtual Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Virtual Appliance Web UI can be accessed by going to http://{your_appliance_ip_or_domain_name} on your web browser.&amp;lt;br&amp;gt;&lt;br /&gt;
API can be accessed at http://{your_appliance_ip_or_domain_name}:8080 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can get IP address of the Appliance with the following methods:&lt;br /&gt;
* Local IP Address from terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;ip address show eth0 | awk '/inet / {print $2}' | cut -d/ -f1'&amp;lt;/code&amp;gt; &lt;br /&gt;
* External IP address from the terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;curl http://ipecho.net/plain; echo&amp;lt;/code&amp;gt;&lt;br /&gt;
* Vmware Appliance: &lt;br /&gt;
Check 'IP Addresses' on the summary page of the appliance.  Please note that Virtual Appliance does not come with vmware tools installed so IP Address would not be displayed until vmware tools are installed.   &lt;br /&gt;
* Amazon AWS:&lt;br /&gt;
use Public IP Addresses or Public DNS listed in your EC2 management console. &lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I use the Annotator and Recommender on their own? ==&lt;br /&gt;
&lt;br /&gt;
Because services like the Annotator and Recommender depend on the Ontologies API in BioPortal, you can not usefully install those services in a stand-alone way without also installing the core BioPortal software and ontologies.&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Slices can be added using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ontoportal user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Programmatic migrations are not officially supported (&amp;quot;Ontologies can be manually downloaded and added using the Web UI&amp;quot;) but we included a script for importing ontologies.&lt;br /&gt;
&lt;br /&gt;
/srv/ncbo/virtual_appliance/deployment/utils/bioportal_ontologies_import.rb,  you will need to modify SOURCE_API, SOURCE_APIKEY and ONTOLOGIES_TO_IMPORT variables.&lt;br /&gt;
&lt;br /&gt;
== How can I restrict ontology downloads via the UI? ==&lt;br /&gt;
&lt;br /&gt;
This line of code should be modified to include the acronyms of the ontologies for which you want to restrict downloads via the UI:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/bioportal_web_ui/blob/master/app/views/ontologies/_submissions.html.haml#L32&lt;br /&gt;
&lt;br /&gt;
This will prevent the “Downloads” column in the Submissions table from appearing on ontology summary pages.&lt;br /&gt;
&lt;br /&gt;
If you want to restrict download via the REST endpoint, you need to modify your environment configuration files (e.g., production.rb, staging.rb, etc.) in your ontologies_api project.  The production.rb file should contain a “config.restrict_download” property -- there’s an example of what it should look like in the sample configuration file in GitHub:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/ontologies_api/blob/master/config/environments/config.rb.sample#L38&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ontoportal user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://{your_appliance_ip_or_domain_name}:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance? ===&lt;br /&gt;
&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx). Please change this as soon as you install the virtual appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12965</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12965"/>
		<updated>2018-02-21T20:25:12Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= ONTOPORTAL VIRTUAL APPLIANCE v2.5 FAQ =&lt;br /&gt;
This FAQ now covers the Ontoportal Virtual Appliance v2.5 The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
== How do I access Virtual Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Virtual Appliance Web UI can be accessed by going to http://{your_appliance_ip_or_domain_name} on your web browser.&amp;lt;br&amp;gt;&lt;br /&gt;
API can be accessed at http://{your_appliance_ip_or_domain_name}:8080 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can get IP address of the Appliance with the following methods:&lt;br /&gt;
* Local IP Address from terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;ip address show eth0 | awk '/inet / {print $2}' | cut -d/ -f1'&amp;lt;/code&amp;gt; &lt;br /&gt;
* External IP address from the terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;curl http://ipecho.net/plain; echo&amp;lt;/code&amp;gt;&lt;br /&gt;
* Vmware Appliance: &lt;br /&gt;
Check 'IP Addresses' on the summary page of the appliance.  Please note that Virtual Appliance does not come with vmware tools installed so IP Address would not be displayed until vmware tools are installed.   &lt;br /&gt;
* Amazon AWS:&lt;br /&gt;
use Public IP Addresses or Public DNS listed in your EC2 management console. &lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I use the Annotator and Recommender on their own? ==&lt;br /&gt;
&lt;br /&gt;
Because services like the Annotator and Recommender depend on the Ontologies API in BioPortal, you can not usefully install those services in a stand-alone way without also installing the core BioPortal software and ontologies.&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Slices can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Programmatic migrations are not officially supported (&amp;quot;Ontologies can be manually downloaded and added using the Web UI&amp;quot;) but we included a script for importing ontologies.&lt;br /&gt;
&lt;br /&gt;
/srv/ncbo/virtual_appliance/deployment/utils/bioportal_ontologies_import.rb,  you will need to modify SOURCE_API, SOURCE_APIKEY and ONTOLOGIES_TO_IMPORT variables.&lt;br /&gt;
&lt;br /&gt;
== How can I restrict ontology downloads via the UI? ==&lt;br /&gt;
&lt;br /&gt;
This line of code should be modified to include the acronyms of the ontologies for which you want to restrict downloads via the UI:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/bioportal_web_ui/blob/master/app/views/ontologies/_submissions.html.haml#L32&lt;br /&gt;
&lt;br /&gt;
This will prevent the “Downloads” column in the Submissions table from appearing on ontology summary pages.&lt;br /&gt;
&lt;br /&gt;
If you want to restrict download via the REST endpoint, you need to modify your environment configuration files (e.g., production.rb, staging.rb, etc.) in your ontologies_api project.  The production.rb file should contain a “config.restrict_download” property -- there’s an example of what it should look like in the sample configuration file in GitHub:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/ontologies_api/blob/master/config/environments/config.rb.sample#L38&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ncbobp user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://{your_appliance_ip_or_domain_name}:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance? ===&lt;br /&gt;
&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx). Please change this as soon as you install the virtual appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12964</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12964"/>
		<updated>2018-02-21T20:18:20Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* ONTOPORTAL VIRTUAL APPLIANCE v2.4 FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= ONTOPORTAL VIRTUAL APPLIANCE v2.5 FAQ =&lt;br /&gt;
This FAQ now covers the Ontoportal Virtual Appliance v2.5 The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
== How do I access Virtual Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Virtual Appliance Web UI can be accessed by going to http://{your_appliance_ip_or_domain_name} on your web browser.&amp;lt;br&amp;gt;&lt;br /&gt;
API can be accessed at http://{your_appliance_ip_or_domain_name}:8080 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can get IP address of the Appliance with the following methods:&lt;br /&gt;
* Local IP Address from terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;ip address show eth0 | awk '/inet / {print $2}' | cut -d/ -f1'&amp;lt;/code&amp;gt; &lt;br /&gt;
* External IP address from the terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;curl http://ipecho.net/plain; echo&amp;lt;/code&amp;gt;&lt;br /&gt;
* Vmware Appliance: &lt;br /&gt;
Check 'IP Addresses' on the summary page of the appliance.  Please note that Virtual Appliance does not come with vmware tools installed so IP Address would not be displayed until vmware tools are installed.   &lt;br /&gt;
* Amazon AWS:&lt;br /&gt;
use Public IP Addresses or Public DNS listed in your EC2 management console. &lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I use the Annotator and Recommender on their own? ==&lt;br /&gt;
&lt;br /&gt;
Because services like the Annotator and Recommender depend on the Ontologies API in BioPortal, you can not usefully install those services in a stand-alone way without also installing the core BioPortal software and ontologies.&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Slices can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Programmatic migrations are not officially supported (&amp;quot;Ontologies can be manually downloaded and added using the Web UI&amp;quot;), Vincent Emonet has provided a script for this purpose.&lt;br /&gt;
&lt;br /&gt;
You can find it at https://github.com/ncbo/ncbo_rest_sample_code/blob/master/ruby/bioportal_ontologies_import.rb. &lt;br /&gt;
&lt;br /&gt;
Please try it and let us know how it works for you (or submit pull requests if you have to fix it).  Thanks!&lt;br /&gt;
&lt;br /&gt;
== How can I restrict ontology downloads via the UI? ==&lt;br /&gt;
&lt;br /&gt;
This line of code should be modified to include the acronyms of the ontologies for which you want to restrict downloads via the UI:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/bioportal_web_ui/blob/master/app/views/ontologies/_submissions.html.haml#L32&lt;br /&gt;
&lt;br /&gt;
This will prevent the “Downloads” column in the Submissions table from appearing on ontology summary pages.&lt;br /&gt;
&lt;br /&gt;
If you want to restrict download via the REST endpoint, you need to modify your environment configuration files (e.g., production.rb, staging.rb, etc.) in your ontologies_api project.  The production.rb file should contain a “config.restrict_download” property -- there’s an example of what it should look like in the sample configuration file in GitHub:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/ontologies_api/blob/master/config/environments/config.rb.sample#L38&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ncbobp user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://{your_appliance_ip_or_domain_name}:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance? ===&lt;br /&gt;
&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx). Please change this as soon as you install the virtual appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12963</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12963"/>
		<updated>2018-02-21T20:18:03Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* NCBO VIRTUAL APPLIANCE v2.5 FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= ONTOPORTAL VIRTUAL APPLIANCE v2.4 FAQ =&lt;br /&gt;
This FAQ now covers the Ontoportal Virtual Appliance v2.5 The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
== How do I access Virtual Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Virtual Appliance Web UI can be accessed by going to http://{your_appliance_ip_or_domain_name} on your web browser.&amp;lt;br&amp;gt;&lt;br /&gt;
API can be accessed at http://{your_appliance_ip_or_domain_name}:8080 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can get IP address of the Appliance with the following methods:&lt;br /&gt;
* Local IP Address from terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;ip address show eth0 | awk '/inet / {print $2}' | cut -d/ -f1'&amp;lt;/code&amp;gt; &lt;br /&gt;
* External IP address from the terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;curl http://ipecho.net/plain; echo&amp;lt;/code&amp;gt;&lt;br /&gt;
* Vmware Appliance: &lt;br /&gt;
Check 'IP Addresses' on the summary page of the appliance.  Please note that Virtual Appliance does not come with vmware tools installed so IP Address would not be displayed until vmware tools are installed.   &lt;br /&gt;
* Amazon AWS:&lt;br /&gt;
use Public IP Addresses or Public DNS listed in your EC2 management console. &lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can I use the Annotator and Recommender on their own? ==&lt;br /&gt;
&lt;br /&gt;
Because services like the Annotator and Recommender depend on the Ontologies API in BioPortal, you can not usefully install those services in a stand-alone way without also installing the core BioPortal software and ontologies.&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Slices can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Programmatic migrations are not officially supported (&amp;quot;Ontologies can be manually downloaded and added using the Web UI&amp;quot;), Vincent Emonet has provided a script for this purpose.&lt;br /&gt;
&lt;br /&gt;
You can find it at https://github.com/ncbo/ncbo_rest_sample_code/blob/master/ruby/bioportal_ontologies_import.rb. &lt;br /&gt;
&lt;br /&gt;
Please try it and let us know how it works for you (or submit pull requests if you have to fix it).  Thanks!&lt;br /&gt;
&lt;br /&gt;
== How can I restrict ontology downloads via the UI? ==&lt;br /&gt;
&lt;br /&gt;
This line of code should be modified to include the acronyms of the ontologies for which you want to restrict downloads via the UI:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/bioportal_web_ui/blob/master/app/views/ontologies/_submissions.html.haml#L32&lt;br /&gt;
&lt;br /&gt;
This will prevent the “Downloads” column in the Submissions table from appearing on ontology summary pages.&lt;br /&gt;
&lt;br /&gt;
If you want to restrict download via the REST endpoint, you need to modify your environment configuration files (e.g., production.rb, staging.rb, etc.) in your ontologies_api project.  The production.rb file should contain a “config.restrict_download” property -- there’s an example of what it should look like in the sample configuration file in GitHub:&lt;br /&gt;
&lt;br /&gt;
https://github.com/ncbo/ontologies_api/blob/master/config/environments/config.rb.sample#L38&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ncbobp user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://{your_appliance_ip_or_domain_name}:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance? ===&lt;br /&gt;
&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx). Please change this as soon as you install the virtual appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12962</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12962"/>
		<updated>2018-02-21T20:16:39Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* NCBO VIRTUAL APPLIANCE v2.5 IS NOW AVAILABLE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ONTOPORTAL VIRTUAL APPLIANCE v2.5 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance is a copy of the NCBO software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
&lt;br /&gt;
To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] to initiate your request. You'll then be asked privately for your BioPortal account username, project goals, and reason for preferring the local installation. &lt;br /&gt;
* If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.&lt;br /&gt;
* If your email doesn't include your organization or other means of identifying you, we will ask for that as well.&lt;br /&gt;
* The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
&lt;br /&gt;
The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their BioPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.9 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 6.6&lt;br /&gt;
*Java 8&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 4.2.x&lt;br /&gt;
*Ruby 2.3.6&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.3.11&lt;br /&gt;
*nginx 1.12.1&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for Ontoportal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for Ontoportal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12961</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12961"/>
		<updated>2018-02-21T20:16:04Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* Basic System Administration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.5 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance is a copy of the NCBO software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
&lt;br /&gt;
To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] to initiate your request. You'll then be asked privately for your BioPortal account username, project goals, and reason for preferring the local installation. &lt;br /&gt;
* If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.&lt;br /&gt;
* If your email doesn't include your organization or other means of identifying you, we will ask for that as well.&lt;br /&gt;
* The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
&lt;br /&gt;
The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their BioPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.9 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 6.6&lt;br /&gt;
*Java 8&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 4.2.x&lt;br /&gt;
*Ruby 2.3.6&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.3.11&lt;br /&gt;
*nginx 1.12.1&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for Ontoportal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for Ontoportal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12960</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12960"/>
		<updated>2018-02-21T20:15:03Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* Image Format and Operating System Details */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.5 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance is a copy of the NCBO software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
&lt;br /&gt;
To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] to initiate your request. You'll then be asked privately for your BioPortal account username, project goals, and reason for preferring the local installation. &lt;br /&gt;
* If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.&lt;br /&gt;
* If your email doesn't include your organization or other means of identifying you, we will ask for that as well.&lt;br /&gt;
* The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
&lt;br /&gt;
The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their BioPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.9 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 6.6&lt;br /&gt;
*Java 8&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 4.2.x&lt;br /&gt;
*Ruby 2.3.6&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.3.11&lt;br /&gt;
*nginx 1.12.1&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for BioPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for BioPortal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12959</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12959"/>
		<updated>2018-02-21T20:12:47Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* NCBO VIRTUAL APPLIANCE v2.5 IS NOW AVAILABLE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.5 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance is a copy of the NCBO software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
&lt;br /&gt;
To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] to initiate your request. You'll then be asked privately for your BioPortal account username, project goals, and reason for preferring the local installation. &lt;br /&gt;
* If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.&lt;br /&gt;
* If your email doesn't include your organization or other means of identifying you, we will ask for that as well.&lt;br /&gt;
* The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
&lt;br /&gt;
The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their BioPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.6 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.10.4 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 3.2.x&lt;br /&gt;
*Ruby 2.1.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.8.18&lt;br /&gt;
*nginx 1.6.3&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for BioPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for BioPortal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12913</id>
		<title>BioPortal Virtual Appliance Release Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12913"/>
		<updated>2017-10-24T00:44:48Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page contains software release notes for the [http://www.bioontology.org/wiki/index.php/Category:NCBO_Virtual_Appliance BioPortal Virtual Appliance].''&lt;br /&gt;
&lt;br /&gt;
Please see the [[BioPortal_Release_Notes|main release notes page]] to access release notes for the Stanford-hosted [http://bioportal.bioontology.org/ BioPortal application].&lt;br /&gt;
&lt;br /&gt;
== OntoPortal Appliance 2.5 RC3 (2017-Oct) ==&lt;br /&gt;
==== Changes ====&lt;br /&gt;
* Web UI is updated to 5.2.0 which incorporates appliance specific UI layout.&lt;br /&gt;
* NCBO BioPortal Appliance is rebranded as OntoPortal appliance. &lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC2 (2017-Aug) ==&lt;br /&gt;
====Changes ====&lt;br /&gt;
* Solr has been updated to v6.6 which now runs as a stand alone service instead of running as a tomcat container.   &lt;br /&gt;
* Web UI is updated to v5.1.2&lt;br /&gt;
* API has been updated to v5.4.1&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components.&lt;br /&gt;
==== Known issues ====&lt;br /&gt;
Web UI layout is not customized for the Appliance. It contains original bioportal.bioontology.org footer and header tool menu has a link to non-functioning resource index tool.&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC1 (2017-Aug) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes ====&lt;br /&gt;
* Web UI is updated to V5.1.1  which is a major overhaul of the user interface.  It has been refactored for rails 4.x support and adopted bootstrap UI framework. &lt;br /&gt;
* Bundled-in UMLS Semantic Network (STY) ontology was updated to version 2016AA&lt;br /&gt;
* Appliance includes scripts for facilitating minor in-place updates of the appliance components such as bioportal_web_up, ontologies_api and ncbo_cron.  This is an experimental feature and not guaranteed to work for major appliance upgrades.&lt;br /&gt;
	&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components.&lt;br /&gt;
&lt;br /&gt;
==== Known issues ====&lt;br /&gt;
* Web UI layout is not customized for the Appliance.  It contains original bioportal.bioontology.org footer and header tool menu has a link to non-functioning resource index tool.	&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
* bioportal_web_ui v5.1.1&lt;br /&gt;
* ontologies_api v5.4.0&lt;br /&gt;
* ncbo_cron v5.4.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Application Stack ====&lt;br /&gt;
* CentOS 6.9&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1&lt;br /&gt;
* Ruby 2.3.3&lt;br /&gt;
* Passenger 5.1.6&lt;br /&gt;
* Redis 3.2.9&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.12.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.4 (2015-Apr) ==&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
&lt;br /&gt;
* Ontologies API (REST service) v4.15.3&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, and Annotator UI) v4.15.5&lt;br /&gt;
* BioMixer &lt;br /&gt;
&lt;br /&gt;
Note that release 4.15 was a silent release, implying that it contained bug fixes and other non-visible changes, and the third release number (.3, .5) indicates a patch number.&lt;br /&gt;
&lt;br /&gt;
==== Application server stack ====&lt;br /&gt;
&lt;br /&gt;
* CentOS 6.6&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6.0.24&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1.73&lt;br /&gt;
* Ruby 2.1.5&lt;br /&gt;
* Passenger 4.0.57&lt;br /&gt;
* Redis 2.8.18&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.6.3&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12911</id>
		<title>BioPortal Virtual Appliance Release Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12911"/>
		<updated>2017-08-30T17:59:17Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* BioPortal Virtual Appliance 2.5 RC2 (2017-Aug) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page contains software release notes for the [http://www.bioontology.org/wiki/index.php/Category:NCBO_Virtual_Appliance BioPortal Virtual Appliance].''&lt;br /&gt;
&lt;br /&gt;
Please see the [[BioPortal_Release_Notes|main release notes page]] to access release notes for the Stanford-hosted [http://bioportal.bioontology.org/ BioPortal application].&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC2 (2017-Aug) ==&lt;br /&gt;
====Changes ====&lt;br /&gt;
* Solr has been updated to v6.6 which now runs as a stand alone service instead of running as a tomcat container.   &lt;br /&gt;
* Web UI is updated to v5.1.2&lt;br /&gt;
* API has been updated to v5.4.1&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components.&lt;br /&gt;
==== Known issues ====&lt;br /&gt;
Web UI layout is not customized for the Appliance. It contains original bioportal.bioontology.org footer and header tool menu has a link to non-functioning resource index tool.&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC1 (2017-Aug) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes ====&lt;br /&gt;
* Web UI is updated to V5.1.1  which is a major overhaul of the user interface.  It has been refactored for rails 4.x support and adopted bootstrap UI framework. &lt;br /&gt;
* Bundled-in UMLS Semantic Network (STY) ontology was updated to version 2016AA&lt;br /&gt;
* Appliance includes scripts for facilitating minor in-place updates of the appliance components such as bioportal_web_up, ontologies_api and ncbo_cron.  This is an experimental feature and not guaranteed to work for major appliance upgrades.&lt;br /&gt;
	&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components.&lt;br /&gt;
&lt;br /&gt;
==== Known issues ====&lt;br /&gt;
* Web UI layout is not customized for the Appliance.  It contains original bioportal.bioontology.org footer and header tool menu has a link to non-functioning resource index tool.	&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
* bioportal_web_ui v5.1.1&lt;br /&gt;
* ontologies_api v5.4.0&lt;br /&gt;
* ncbo_cron v5.4.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Application Stack ====&lt;br /&gt;
* CentOS 6.9&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1&lt;br /&gt;
* Ruby 2.3.3&lt;br /&gt;
* Passenger 5.1.6&lt;br /&gt;
* Redis 3.2.9&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.12.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.4 (2015-Apr) ==&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
&lt;br /&gt;
* Ontologies API (REST service) v4.15.3&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, and Annotator UI) v4.15.5&lt;br /&gt;
* BioMixer &lt;br /&gt;
&lt;br /&gt;
Note that release 4.15 was a silent release, implying that it contained bug fixes and other non-visible changes, and the third release number (.3, .5) indicates a patch number.&lt;br /&gt;
&lt;br /&gt;
==== Application server stack ====&lt;br /&gt;
&lt;br /&gt;
* CentOS 6.6&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6.0.24&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1.73&lt;br /&gt;
* Ruby 2.1.5&lt;br /&gt;
* Passenger 4.0.57&lt;br /&gt;
* Redis 2.8.18&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.6.3&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12910</id>
		<title>BioPortal Virtual Appliance Release Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12910"/>
		<updated>2017-08-30T17:58:16Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page contains software release notes for the [http://www.bioontology.org/wiki/index.php/Category:NCBO_Virtual_Appliance BioPortal Virtual Appliance].''&lt;br /&gt;
&lt;br /&gt;
Please see the [[BioPortal_Release_Notes|main release notes page]] to access release notes for the Stanford-hosted [http://bioportal.bioontology.org/ BioPortal application].&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC2 (2017-Aug) ==&lt;br /&gt;
====Changes ====&lt;br /&gt;
* Solr has been updated to v6.6 which now runs as a stand alone service instead of running as a tomcat container.   &lt;br /&gt;
* Web UI is updated to v5.1.2&lt;br /&gt;
* API has been updated to v5.4.1&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components.&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC1 (2017-Aug) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes ====&lt;br /&gt;
* Web UI is updated to V5.1.1  which is a major overhaul of the user interface.  It has been refactored for rails 4.x support and adopted bootstrap UI framework. &lt;br /&gt;
* Bundled-in UMLS Semantic Network (STY) ontology was updated to version 2016AA&lt;br /&gt;
* Appliance includes scripts for facilitating minor in-place updates of the appliance components such as bioportal_web_up, ontologies_api and ncbo_cron.  This is an experimental feature and not guaranteed to work for major appliance upgrades.&lt;br /&gt;
	&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components.&lt;br /&gt;
&lt;br /&gt;
==== Known issues ====&lt;br /&gt;
* Web UI layout is not customized for the Appliance.  It contains original bioportal.bioontology.org footer and header tool menu has a link to non-functioning resource index tool.	&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
* bioportal_web_ui v5.1.1&lt;br /&gt;
* ontologies_api v5.4.0&lt;br /&gt;
* ncbo_cron v5.4.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Application Stack ====&lt;br /&gt;
* CentOS 6.9&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1&lt;br /&gt;
* Ruby 2.3.3&lt;br /&gt;
* Passenger 5.1.6&lt;br /&gt;
* Redis 3.2.9&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.12.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.4 (2015-Apr) ==&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
&lt;br /&gt;
* Ontologies API (REST service) v4.15.3&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, and Annotator UI) v4.15.5&lt;br /&gt;
* BioMixer &lt;br /&gt;
&lt;br /&gt;
Note that release 4.15 was a silent release, implying that it contained bug fixes and other non-visible changes, and the third release number (.3, .5) indicates a patch number.&lt;br /&gt;
&lt;br /&gt;
==== Application server stack ====&lt;br /&gt;
&lt;br /&gt;
* CentOS 6.6&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6.0.24&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1.73&lt;br /&gt;
* Ruby 2.1.5&lt;br /&gt;
* Passenger 4.0.57&lt;br /&gt;
* Redis 2.8.18&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.6.3&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12909</id>
		<title>BioPortal Virtual Appliance Release Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12909"/>
		<updated>2017-08-03T19:05:37Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page contains software release notes for the [http://www.bioontology.org/wiki/index.php/Category:NCBO_Virtual_Appliance BioPortal Virtual Appliance].''&lt;br /&gt;
&lt;br /&gt;
Please see the [[BioPortal_Release_Notes|main release notes page]] to access release notes for the Stanford-hosted [http://bioportal.bioontology.org/ BioPortal application].&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC1 (2017-Aug) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes ====&lt;br /&gt;
* Web UI is updated to V5.1.1  which is a major overhaul of the user interface.  It has been refactored for rails 4.x support and adopted bootstrap UI framework. &lt;br /&gt;
* Bundled-in UMLS Semantic Network (STY) ontology was updated to version 2016AA&lt;br /&gt;
* Appliance includes scripts for facilitating minor in-place updates of the appliance components such as bioportal_web_up, ontologies_api and ncbo_cron.  This is an experimental feature and not guaranteed to work for major appliance upgrades.&lt;br /&gt;
	&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components.&lt;br /&gt;
&lt;br /&gt;
==== Known issues ====&lt;br /&gt;
* Web UI layout is not customized for the Appliance.  It contains original bioportal.bioontology.org footer and header tool menu has a link to non-functioning resource index tool.	&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
* bioportal_web_ui v5.1.1&lt;br /&gt;
* ontologies_api v5.4.0&lt;br /&gt;
* ncbo_cron v5.4.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Application Stack ====&lt;br /&gt;
* CentOS 6.9&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1&lt;br /&gt;
* Ruby 2.3.3&lt;br /&gt;
* Passenger 5.1.6&lt;br /&gt;
* Redis 3.2.9&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.12.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.4 (2015-Apr) ==&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
&lt;br /&gt;
* Ontologies API (REST service) v4.15.3&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, and Annotator UI) v4.15.5&lt;br /&gt;
* BioMixer &lt;br /&gt;
&lt;br /&gt;
Note that release 4.15 was a silent release, implying that it contained bug fixes and other non-visible changes, and the third release number (.3, .5) indicates a patch number.&lt;br /&gt;
&lt;br /&gt;
==== Application server stack ====&lt;br /&gt;
&lt;br /&gt;
* CentOS 6.6&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6.0.24&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1.73&lt;br /&gt;
* Ruby 2.1.5&lt;br /&gt;
* Passenger 4.0.57&lt;br /&gt;
* Redis 2.8.18&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.6.3&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12908</id>
		<title>BioPortal Virtual Appliance Release Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Virtual_Appliance_Release_Notes&amp;diff=12908"/>
		<updated>2017-08-03T19:03:09Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page contains software release notes for the [http://www.bioontology.org/wiki/index.php/Category:NCBO_Virtual_Appliance BioPortal Virtual Appliance].''&lt;br /&gt;
&lt;br /&gt;
Please see the [[BioPortal_Release_Notes|main release notes page]] to access release notes for the Stanford-hosted [http://bioportal.bioontology.org/ BioPortal application].&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.5 RC1 (2017-Aug) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes ====&lt;br /&gt;
* Web UI is updated to V5.1.1  which is a major overhaul of the user interface.  It has been refactored for rails 4.x support and adopted bootstrap UI framework. &lt;br /&gt;
* Bundled-in UMLS Semantic Network (STY) ontology was updated to version 2016AA&lt;br /&gt;
* Appliance includes scripts for facilitating minor in-place updates of the appliance components such as bioportal_web_up, ontologies_api and ncbo_cron.&lt;br /&gt;
	&lt;br /&gt;
Please refer to the [[BioPortal_Release_Notes|main release notes page]] for more detailed information on the new features and bug fixes introduced in various Bioportal components. &lt;br /&gt;
&lt;br /&gt;
==== Known issues ====&lt;br /&gt;
* Web UI layout is not customized for the Appliance.  It contains original bioportal.bioontology.org footer and header tool menu has a link to non-functioning resource index tool.	&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
* bioportal_web_ui v5.1.1&lt;br /&gt;
* ontologies_api v5.4.0&lt;br /&gt;
* ncbo_cron v5.4.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Application Stack ====&lt;br /&gt;
* CentOS 6.9&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1&lt;br /&gt;
* Ruby 2.3.3&lt;br /&gt;
* Passenger 5.1.6&lt;br /&gt;
* Redis 3.2.9&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.12.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Virtual Appliance 2.4 (2015-Apr) ==&lt;br /&gt;
&lt;br /&gt;
==== Components ====&lt;br /&gt;
&lt;br /&gt;
* Ontologies API (REST service) v4.15.3&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, and Annotator UI) v4.15.5&lt;br /&gt;
* BioMixer &lt;br /&gt;
&lt;br /&gt;
Note that release 4.15 was a silent release, implying that it contained bug fixes and other non-visible changes, and the third release number (.3, .5) indicates a patch number.&lt;br /&gt;
&lt;br /&gt;
==== Application server stack ====&lt;br /&gt;
&lt;br /&gt;
* CentOS 6.6&lt;br /&gt;
* Apache httpd 2.2.15&lt;br /&gt;
* Apache Tomcat 6.0.24&lt;br /&gt;
* Solr 4.10.4&lt;br /&gt;
* MySQL 5.1.73&lt;br /&gt;
* Ruby 2.1.5&lt;br /&gt;
* Passenger 4.0.57&lt;br /&gt;
* Redis 2.8.18&lt;br /&gt;
* Memcached 1.4.4&lt;br /&gt;
* 4store v1.1.5-122-g1788d29&lt;br /&gt;
* nginx 1.6.3&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12879</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12879"/>
		<updated>2017-03-17T00:12:33Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* General Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.4 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance is a copy of the NCBO software that you can run on your own Linux system. You have to install it following the instructions below, and upload your own ontologies (and/or copies of ours, if they are public).&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator. &lt;br /&gt;
&lt;br /&gt;
You may also want to visit the [[Virtual Appliance FAQ]] for additional information on the Virtual Appliance, as well as the other pages in this category (bottom of the page).&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
* To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] to initiate your request. You'll then be asked privately for your BioPortal account username. organizational goals, and reason for preferring the local installation. (If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.) The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
* The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
For users who want to run their BioPortal instance on Amazon Web Services, an Amazon Machine Instance (AMI) is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 BioOntology AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.6 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.10.4 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 3.2.x&lt;br /&gt;
*Ruby 2.1.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.8.18&lt;br /&gt;
*nginx 1.6.3&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for BioPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for BioPortal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Release_Notes&amp;diff=12849</id>
		<title>BioPortal Release Notes</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=BioPortal_Release_Notes&amp;diff=12849"/>
		<updated>2016-10-13T01:08:21Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.29 (Oct 2016) ==&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.28 (June 2016) ==&lt;br /&gt;
&lt;br /&gt;
* Modified several areas of code to eliminate long running SPARQL count queries that hampered overall performance (NCBO-1741).&lt;br /&gt;
* Tweaked the size of cache limits to ensure that frequently requested data is cached appropriately (NCBO-1757).&lt;br /&gt;
* Fixed an issue that prevented the BioPortal site from setting correct HTTP status codes for Internal Server and Not Found errors.  Previously, BioPortal always set status codes to 200 (NCBO-1548).&lt;br /&gt;
* Fixed an issue that prevented the Sequence Types and Features Ontology (SO) ontology from parsing (NCBO-1739).&lt;br /&gt;
* Cleaned up and removed 249 failed submissions of the GoMapMan (GMM) ontology that resulted from an invalid ontology pull location (NCBO-1743).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.27 (May 2016) ==&lt;br /&gt;
&lt;br /&gt;
* Made improvements to the code that calculates ontology popularity, which is the default sort order for search results in BioPortal (NCBO-1718).&lt;br /&gt;
* Modified the code that calculates ontology metrics to reduce occurrences of long running SPARQL count queries (NCBO-1652, NCBO-1724, NCBO-1736).&lt;br /&gt;
* BioPortal will now display preferred names with English (&amp;quot;en&amp;quot;) language tags by default.  Previously, preferred names were chosen at random without regard to language tags (NCBO-1662). &lt;br /&gt;
* Upgraded to Java 8 (NCBO-1697).&lt;br /&gt;
* Fixed an issue that prevented the PE-O ontology from parsing correctly (NCBO-1716).&lt;br /&gt;
* Fixed an issue that prevented the PHENX ontology from parsing correctly (NCBO-1708).&lt;br /&gt;
* Removed assets from BioPortal home page from non HTTPS sources, which caused browsers to report BioPortal as an insecure site (NCBO-1567).&lt;br /&gt;
* Fixed corrupt creation dates for a number of projects on the Projects page (NCBO-1535).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.26 (April 2016) ==&lt;br /&gt;
* Upgraded to version 4.2.1 of the OWL API (NCBO-1676).&lt;br /&gt;
* Generated metrics data for a number of ontologies with missing metrics (NCBO-1687).&lt;br /&gt;
* Reparsed the FMA ontology to fix an issue with missing values for preferred labels, synonyms, and definitions (NCBO-1679).&lt;br /&gt;
* Fixed an issue that caused parsing errors with the latest versions of the NCIT ontology (NCBO-1664).&lt;br /&gt;
* Fixed a bug in the Recommender's score aggregation function for ontology sets (NCBO-1682).&lt;br /&gt;
* Fixed an issue with the PO ontology that resulted in a series of bad submissions and failed indexing (NCBO-1678).&lt;br /&gt;
* Fixed an issue that prevented the MS ontology from parsing correctly (NCBO-1579).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.25 (March 2016) ==&lt;br /&gt;
&lt;br /&gt;
In this release we fixed problems that were causing regular outages of the [[BioPortal_Help#Recommender_Tab|Recommender]], and sometimes affecting the main BioPortal system. Our troubleshooting documentation has been updated based on our experience.&lt;br /&gt;
&lt;br /&gt;
* Fixed an issue that prevented users from getting &amp;quot;ready&amp;quot; submissions from the REST API (NCBO-1673)&lt;br /&gt;
* Fixed an issue that caused the Metrics REST endpoint to fail (NCBO-1660).&lt;br /&gt;
* Flattened and reparsed the DRON ontology to address SPARQL query performance issues (NCBO-1651).&lt;br /&gt;
* Fixed a bug that caused the Recommender to fail when dealing with ontologies with no submissions (NCBO-1650).&lt;br /&gt;
* Modified several BioPortal components to retrieve ontology class counts from metrics data instead of directly querying the backend to address performance issues (NCBO-1648).&lt;br /&gt;
* Fixed an issue was preventing the latest versions of the NCIT ontology from being pulled into BioPortal (NCBO-1655).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.24 (February 2016) ==&lt;br /&gt;
&lt;br /&gt;
'''Enhancements'''&lt;br /&gt;
&lt;br /&gt;
* Implemented an ability to create and manage provisional relations on a provisional class (NCBO-1614)&lt;br /&gt;
* Implemented an ability to search for all subclasses of a class, including provisional classes (NCBO-1624)&lt;br /&gt;
&lt;br /&gt;
'''Bug Fixes'''&lt;br /&gt;
&lt;br /&gt;
* Fixed a subtree root search to properly include provisional classes when an appropriate parameter is passed to the endpoint&lt;br /&gt;
* Fixed an issue with CHEBI ontology not being pulled from its download location (NCBO-1639)&lt;br /&gt;
* Fixed a display issue where BioPortal displayed a nested 404 page when an error occured rendering the class tree (NCBO-1623)&lt;br /&gt;
* Fixed a bug in NCBO Tree widget that ommitted a &amp;quot;+&amp;quot; sign for classes that have children (NCBO-1574)&lt;br /&gt;
* Fixed an issue with search not returning entries for some existing classes of NCBI Taxonomy (NCBITAXON) (NCBO-1591)&lt;br /&gt;
* Added sample link to this section of the API documentation (NCBO-1612)&lt;br /&gt;
* Updated the Resource Index UI to default to hierarchical classes (classes and descendants) (NCBO-1622)&lt;br /&gt;
* Fixed a broken pull location for ONLIRA ontology (NCBO-1627)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.23 (January 2016) ==&lt;br /&gt;
&lt;br /&gt;
* Added an additional server to the group that serves the BioPortal UI for improved performance.&lt;br /&gt;
* Fixed an issue with the ontology analytics REST endpoint returning an empty set.&lt;br /&gt;
* Fixed an issue that caused a breakage of the ontology submissions REST endpoint (NCBO-1590).&lt;br /&gt;
* Fixed an issue that prevented search from returning some terms in the DOID and NCBITAXON ontologies (NCBO-1578, NCBO-1588).&lt;br /&gt;
* Fixed an issue that caused some of the mapping display dialogs to freeze (NCBO-1562).&lt;br /&gt;
* Fixed an issue where using the &amp;quot;Jump To:&amp;quot; search box on the ontology classes page caused the UI to hang (NCBO-1506).&lt;br /&gt;
* Fixed an issue that prevented the DDO ontology from parsing (NCBO-1603).&lt;br /&gt;
* Fixed an issue that caused an error in the virtual appliance if ontology analytics data is empty.  Thanks to Vincent Emonet for the contribution.&lt;br /&gt;
* Fixed an issue on the Annotator page with an incorrect parameter in the REST API link to retrieve results formatted as JSON.  Thanks (again!) Vincent Emonet for the contribution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.22.1 (December 2015) ==&lt;br /&gt;
&lt;br /&gt;
This is a minor release that addresses an issue of system instability caused by a bug in our HTTP caching layer that resulted in a significant load on our backend services.&lt;br /&gt;
&lt;br /&gt;
'''Enhancements'''&lt;br /&gt;
&lt;br /&gt;
* Added configuration parameters at the UI layer that allow for a greater control over debugging issues with HTTP caching.&lt;br /&gt;
&lt;br /&gt;
'''Bug Fixes'''&lt;br /&gt;
&lt;br /&gt;
* Fixed a bug in the HTTP caching code that caused multiple identical requests to bypass the cache and trigger extraneous requests to the REST API. The bug fix resulted in a significant performance boost to both the front- and back-end services.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.22 (November 2015) ==&lt;br /&gt;
&lt;br /&gt;
'''Enhancements'''&lt;br /&gt;
&lt;br /&gt;
* New functionality at the REST API level in support of our collaboration with the [http://www.metadatacenter.org/ CEDAR] project:&lt;br /&gt;
** Added the ability to search for, and retrieve all value sets.&lt;br /&gt;
** Implemented search for value set items ([http://data.bioontology.org/search?q=melanoma&amp;amp;also_search_provisional=true&amp;amp;valueset_exclude_roots=true&amp;amp;ontology_types=VALUE_SET_COLLECTION example link]).&lt;br /&gt;
** Implemented search for ontology classes and value set items ([http://data.bioontology.org/search?q=melanoma&amp;amp;also_search_provisional=true&amp;amp;valueset_exclude_roots=true example link]).&lt;br /&gt;
** Added the ability to exclude value set collections from search ([http://data.bioontology.org/search?q=melanoma&amp;amp;ontology_types=ONTOLOGY&amp;amp;also_search_provisional=true example link]).&lt;br /&gt;
** Added the ability to search for value set values across all value sets in an ontology.&lt;br /&gt;
* Ontologies are now sortable by creation date on the Admin page.&lt;br /&gt;
* Clicking the Add Comment and/or Add Proposal buttons in the Notes sections for ontologies will navigate unauthenticated users to the login page.&lt;br /&gt;
&lt;br /&gt;
'''Bug Fixes'''&lt;br /&gt;
&lt;br /&gt;
* Fixed an issue that caused [http://bioportal.bioontology.org/projects Projects page] load times in excess of 3 minutes.&lt;br /&gt;
* Fixed an issue that caused the UI to go blank after selecting the root node of the CCO ontology.&lt;br /&gt;
* Admin page: the ontologies table now refreshes after deleting an ontology.&lt;br /&gt;
* Fixed an issue that caused a 404 error when trying to view the DINTO ontology.&lt;br /&gt;
* Fixed an inconsistency in the metadata for the CHMO ontology that caused the parsing process to fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.21 (October 2015) ==&lt;br /&gt;
&lt;br /&gt;
'''Bug Fixes'''&lt;br /&gt;
* Fixed an issue that caused class trees to reload every time a class was selected.&lt;br /&gt;
* Fixed an issue with BioPortal's term selection widget that caused raw HTML to be displayed in search results.&lt;br /&gt;
* Fixed a problem in the REST API that caused an internal server error when accessing nonexistent users.  The API now correctly displays a 404 not found message.&lt;br /&gt;
* Fixed a bug that prevented flat tree ontologies from displaying in BioPortal.&lt;br /&gt;
* Fixed an issue that prevented the latest versions of the Gazetteer and Chemical Entities of Biological Interest ontologies from parsing.&lt;br /&gt;
* Fixed a problem that prevented visualization from working with private ontologies (thanks go to Eric Verbeek for this).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.20 (August 2015) ==&lt;br /&gt;
&lt;br /&gt;
''This release includes minor fixes from several previous releases.''&lt;br /&gt;
&lt;br /&gt;
* Released a new version of the Ontology Recommender. This version is more flexible than the previous version and allows users to assign weights to the scores for various factors that influence the recommendation. In addition, some edge cases in the old system that resulted in bad recommendations have been addressed. This new recommendation system was developed independently by Marcos Martinez and then incorporated into our base code.&lt;br /&gt;
* Instances (individuals) in an ontology can now be accessed through the API. Documentation for this is available at: http://data.bioontology.org/documentation#Instance.&lt;br /&gt;
* Components have been added to the Annotator UI to allow users to exercise additional options available through the API.&lt;br /&gt;
* Icons now indicate non-subclass relationships in OBO ontologies. Previously it was not possible to distinguish visually OBO subclass from other OBO relations displayed in the tree (such as OBO part-of).&lt;br /&gt;
* The UMLS MeSH vocabulary is now displayed hierarchically. Previously it was displayed as a flat list of terms because of some problems with the hierarchical relation in the source that we were using.&lt;br /&gt;
* The Search API now allows search-by-name of provisional classes assigned to an ontology.&lt;br /&gt;
* The UMLS ontologies have all been updated to the latest 2015AA release.&lt;br /&gt;
* A new version of BioMixer with a simpler user interface has been incorporated into the system. This work was done by our collaborators at the University of Victoria.&lt;br /&gt;
* Created both a REST service and a UI for BioPortal application administration. This interface is automatically visible to VM administrators.&lt;br /&gt;
* Updated the framework of our system from RAILS version 2 to version 4.&lt;br /&gt;
* Fixed many bugs, especially those causing failures when parsing an ontology.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.14 (February 2015) ==&lt;br /&gt;
&lt;br /&gt;
''This release includes minor fixes from several previous releases.''&lt;br /&gt;
 &lt;br /&gt;
* The ontology summary page for each ontology now has a graph of recent history of the level of user-interface (UI) web traffic (number of page views) for that ontology. This graph is available under the “Metrics” box. See, for example, http://bioportal.bioontology.org/ontologies/SNOMEDCT . The raw data is also available for download in CSV format from the same location.&lt;br /&gt;
* The BioPortal home page now has a link that displays all ontologies in the system and the number of UI views for each ontology. Previously usage of only the top 5 ontologies were available.&lt;br /&gt;
* Users of our virtual machine now have the ability to plug in alternate concept recognizers for use by the annotator. To support these custom annotators, arbitrary parameters can be passed via the rest interface to the underlying concept recognizer. Documentation for how to make use of this feature is available on [https://github.com/ncbo/ncbo_annotator/wiki/Extending-Annotator-with-a-Custom-Concept-Recognizer GitHub].  Previously the “mgrep” concept recognizer was hardwired into the system and code modifications were required to employ another recognizer.&lt;br /&gt;
* Ontologies views can now be used for annotation. Previously only top level ontologies were available for use by the annotation system.&lt;br /&gt;
* All of PubMed has been indexed for use by the Resource Index for all terms in all ontologies in BioPortal. Previously only 18 months of PubMed data was indexed.&lt;br /&gt;
* We now provide for download, for all resources in BioPortal, files containing counts for term occurrence and co-occurrence (occurrence of pairs of terms in a document). These files can be used for research in enrichment analysis. Documentation of the files and how they might be used is available on [https://github.com/ncbo/resource_index/wiki/Term-Occurence GitHub].&lt;br /&gt;
* The ontology browse page now has a faceted interface that allows the list of displayed ontologies to be narrowed as desired. Previously all ontologies appeared in an alphabetical list but this became unwieldy with the 400+ ontologies that we now have.&lt;br /&gt;
* There is now a user-interface for displaying all of the properties in an ontology. If the properties were created in a hierarchy then this hierarchy is displayed. Previously only the class hierarchy was displayed. Properties were available programmatically though the REST interface but this information was not surfaced in the UI.&lt;br /&gt;
* Ontologies defined using SKOS are now supported. For these ontologies, the hierarchy is determined by the SKOS “broader” and “narrower” properties.&lt;br /&gt;
* We now allow download of all publically available ontologies in RDF. UMLS ontologies with restrictive licenses are excluded.&lt;br /&gt;
* We fixed a number of non-parsing ontologies and removed a bunch of low-content (“test”) ontologies.&lt;br /&gt;
* The system now contains the latest versions (2014AB) of all UMLS ontologies.&lt;br /&gt;
* We now treat all OBO synonym types as a BioPortal synonyms. Previously only the OBO “exact” synonym type was treated as a BioPortal synonym.&lt;br /&gt;
* We now notify by email the ontology authors if the nightly pull of their ontology fails.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.10 (September 2014) ==&lt;br /&gt;
&lt;br /&gt;
''This release includes minor fixes from several previous releases.''&lt;br /&gt;
 &lt;br /&gt;
* Reengineered the entire Resource Index to achieve better and more consistent performance and to align the Resource Index with the new BioPortal backend (released last year). In addition to allowing us to support additional resources, this revision removes a number of inconsistencies that resulted from the Resource Index using the old BioPortal backend.&lt;br /&gt;
* Upgraded the OWL and OBO parser to the latest version and reparsed all OBO and OWL ontologies. This reprocessing fixed a large number of problems with ontologies that either did not parse or that failed  search indexing or metrics calculations.&lt;br /&gt;
* We now create and make available for download a comma-separated value (CSV) file for most ontologies. These files have one row/class and a standard set of properties in the columns. We cannot make these files available for ontologies if the license for the ontology does not permit it (e.g. SNOMED-CT and MedDRA).&lt;br /&gt;
* Fixed PURLS for all ontologies. There were a large number of ontologies for which the PURLs we created, in the old system or the new one, no longer worked correctly.&lt;br /&gt;
* Reworked the entire mappings system so that mappings will be always up-to-date with the latest version of the ontologies.&lt;br /&gt;
* Created a web page (http://bioportal.bioontology.org/validate_ontology_file) so that users can validate that their ontologies parse correctly with the latest version of the OWL/OBO parser.&lt;br /&gt;
* Removed a number of bogus ontologies and spam notes.&lt;br /&gt;
* Fixed implementation of “longest only” parameter in Annotator.&lt;br /&gt;
* We now reparse and reindex an ontology if the administrator of the ontology changes the metadata for the ontology. The reparse  is necessary because the metadata contains information, such as the properties that contain synonyms or definitions, that influence the parsing and indexing.&lt;br /&gt;
* Recalculated metrics for all ontologies. This process filled in metrics for many ontologies that lacked them, and corrected the calculations of some metrics in other ontologies.&lt;br /&gt;
* We now allow the download of RDF (Turtle) files for UMLS ontologies whose license allows users to download them.&lt;br /&gt;
* Reindexing ontologies for search no longer interferes with the use of search on those ontologies. Previously search for an ontology was either broken or incomplete for an ontology that was being indexed.&lt;br /&gt;
* Added an ontology properties endpoint to the REST API. This endpoint allows a user to query for the properties used by an ontology.&lt;br /&gt;
 &lt;br /&gt;
As previously noted, we have permanently retired the old NCBO BioPortal API. New API documentation is available at&lt;br /&gt;
http://data.bioontology.org/documentation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.6 (May 2014) ==&lt;br /&gt;
&lt;br /&gt;
* Improved Search Result Display – Many ontologies contain classes that are references to a canonical ontology that “owns” the class. The system now automatically tries to identify the “owning” ontology and emphasize it in the results while displaying the ontologies that contain references to that ontology as subordinate (for that class). This feature is easier to try out than to explain. Type in “cancer” into the search box on the Search Tab and scan through the results to see what it is all about. This sort of display has been requested by a number of users for quite a while and we are happy to finally provide it.&lt;br /&gt;
* Implemented Search for ID (URI), UMLS CUI, UMLS TUI, and skos:notation – The search system now will use the input search to find a class URI, a class skos:notation field (“short id” in the old system) or a UMLS “concept unique identifier” or semantic type. All of these fields are available through the default search mechanism. There is still an optional “all properties” parameter to search these property values along with all other property values.&lt;br /&gt;
* Released New Version of BioMixer visualization system – The BioMixer system has been updated to improve performance and be more robust. (Work performed by our University of Victoria collaborators.)&lt;br /&gt;
* Implemented New Mapping Visualization – Mappings system now allows a user to visualize the strength of mappings relationships between ontologies. Go to the mappings tab, select an ontology, and hit the visualization radio button to try this out. (Work performed by our University of Victoria collaborators.)&lt;br /&gt;
* Implemented Configurable REST API calls – The Annotator and Search REST calls now allow a user specify which fields of a class the system should return. The user can also specify “all” to get everything. &lt;br /&gt;
* Updated UMLS Ontologies – All UMLS ontologies have been updated to the latest (2013 AB) version.&lt;br /&gt;
* Improved Autocomplete – The autocomplete in the ontology “Jump To” box, and in the widgets, now works more reliably with results that are more intuitive than previously.&lt;br /&gt;
* Provide Access Control for Mappings – We have implemented access control to prevent people other than the author from deleting a mapping.&lt;br /&gt;
* Reimplemented Annotator “Longest Only” Parameter – We have reimplemented the annotator “longest only” parameter to work in all situations. This parameter allows the user to limit the returned results to only those matches which are longer than other matches for a given ontology. In the old system this parameter did not work correctly.&lt;br /&gt;
* Reimplemented Widgets to not use Flash – We have reimplemented the widgets to not use the Adobe Flash technology. Requiring the use of this technology was unpopular among our user community.&lt;br /&gt;
* Enabled Upload and Download Large Ontologies – We have fixed various timeout problems which prevented users from uploading or downloading large ontologies.&lt;br /&gt;
* Fixed Bugs! – Fixed a very large number of bugs, some new with the new system, and some carried forward from the old system.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
We've shut down access to the old BioPortal REST API and will be turning off the old system entirely in the near future. We've provided 7 months for application developers to move to the new system and the vast majority have already done so. The overwhelming response from developers has been the that new system is now (after a few post release glitches!) much easier to use and much more reliable than the old system. Documentation for the new API is available at: http://data.bioontology.org/documentation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== BioPortal Release 4.0 (September 2013) ==&lt;br /&gt;
&lt;br /&gt;
The primary distinguishing feature of this release is the replacement of several backend storage and caching mechanisms with a single triple-store based backend built with on the open source 4store platform.  In addition we are simultaneously releasing a new version of the BioPortal REST API. This API is also built on top of the triple store. It provides a much more uniform and REST-full interface to the underlying BioPortal data than our previous REST API.&lt;br /&gt;
&lt;br /&gt;
The old API will continue to function through the end of 2013. This API will only be able to access “old content” (that is, ontologies submitted or updated before today).  We encourage API users to transition as quickly as possible to the new API. The new API is the only way to access both new content (submitted after today) and old content. The reports from beta users of the new API have been uniformly positive.  Draft documentation for the new API is available at &lt;br /&gt;
http://data.bioontology.org/documentation&lt;br /&gt;
&lt;br /&gt;
BioPortal users will note a few changes from the previous version. Some of these changes are temporary (we didn’t quite get everything done…) while others are permanent. There are also a number of minor and cosmetic changes. The list of the more important changes is available below.&lt;br /&gt;
&lt;br /&gt;
With a release of this size, it is inevitable that some bugs have crept in. Please report any that you run across to the support@bioontology.org mailing list. Have confidence that we will be working diligently to prioritize and fix the problems that arise.&lt;br /&gt;
&lt;br /&gt;
Temporary Changes &lt;br /&gt;
* All handling of obsolete classes in UI and API is not supported yet. Obsolete classes are currently indistinguishable from normal classes.&lt;br /&gt;
* “Slices” and ontology sets (user defined lists of ontologies of interest) are not supported yet&lt;br /&gt;
* The tree browse UI does not yet distinguish between is-a and part-of relations for OBO ontologies. Previously (and probably in the future) icons next to the class name indicated the relationship type. &lt;br /&gt;
* We do not yet have a VM version for this release. We expect to produce a new VM version by the end of the year. This VM will include the triple-store based storage mechanism. In addition VM users will be able to query the VM triple-store directly with SPARQL.&lt;br /&gt;
* Parsing of new ontologies and new versions remains disabled for the next few days. We will re-enable parsing by early next week.&lt;br /&gt;
&lt;br /&gt;
Permanent Additions&lt;br /&gt;
* New ontologies and new versions of ontologies will be typically available for text annotation the next day after submission. Previously the process took several weeks to several months.&lt;br /&gt;
* We now have the latest versions UMLS ontologies. Previously we updated UMLS ontologies on request only, which left us with some very old versions. Going forward we will try to update our set of UMLS ontologies within a month of the UMLS release.&lt;br /&gt;
&lt;br /&gt;
Permanent Subtractions&lt;br /&gt;
* Programmatic and browse access to classes in non-current versions of ontologies is removed. We still retain metadata about older versions of ontologies and we still allow you to download the source files for old versions.&lt;br /&gt;
* We no longer support Protégé Frames format ontologies. Owners of these ontologies will need to convert them to OWL or OBO to load them.&lt;br /&gt;
* We now use the owlAPI (http://owlapi.sourceforge.net/) to load OWL and OBO ontologies. This API supports OWL version 2.0. For almost all features, OWL 2.0 is a superset of OWL 1.0. There are some edge cases though where ontologies that marginally parsed with an OWL 1.0 parser will not parse at all with the OWL 2.0 parser. We leave it to OWL ontology owners to provide valid OWL 2.0 ontologies.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Previous BioPortal Releases ==&lt;br /&gt;
&lt;br /&gt;
For release notes for earlier releases, see&lt;br /&gt;
&lt;br /&gt;
[[BioPortal Release 3 Release Notes]] &lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
[[BioPortal Release 2 Release Notes]]&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12832</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12832"/>
		<updated>2016-04-14T00:05:35Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* General */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= NCBO VIRTUAL APPLIANCE v2.4 FAQ =&lt;br /&gt;
This FAQ now covers the NCBO Virtual Appliance v2.4. The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
== How do I access Virtual Appliance? ==&lt;br /&gt;
&lt;br /&gt;
Virtual Appliance Web UI can be accessed by going to http://{your_appliance_ip_or_domain_name} on your web browser.&amp;lt;br&amp;gt;&lt;br /&gt;
API can be accessed at http://{your_appliance_ip_or_domain_name}:8080 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can get IP address of the Appliance with the following methods:&lt;br /&gt;
* Local IP Address from terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;ip address show eth0 | awk '/inet / {print $2}' | cut -d/ -f1'&amp;lt;/code&amp;gt; &lt;br /&gt;
* External IP address from the terminal: &lt;br /&gt;
&amp;lt;code&amp;gt;curl http://ipecho.net/plain; echo&amp;lt;/code&amp;gt;&lt;br /&gt;
* Vmware Appliance: &lt;br /&gt;
Check 'IP Addresses' on the summary page of the appliance.  Please note that Virtual Appliance does not come with vmware tools installed so IP Address would not be displayed until vmware tools are installed.   &lt;br /&gt;
* Amazon AWS:&lt;br /&gt;
use Public IP Addresses or Public DNS listed in your EC2 management console. &lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Slices can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
Programmatic migrations are currently unsupported. Ontologies can be manually downloaded and added using the Web UI.&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ncbobp user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://{your_appliance_ip_or_domain_name}:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance ===&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx).&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12831</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12831"/>
		<updated>2016-04-13T23:43:44Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= NCBO VIRTUAL APPLIANCE v2.4 FAQ =&lt;br /&gt;
This FAQ now covers the NCBO Virtual Appliance v2.4. The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Slices can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
Programmatic migrations are currently unsupported. Ontologies can be manually downloaded and added using the Web UI.&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ncbobp user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://{your_appliance_ip_or_domain_name}:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance ===&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx).&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12830</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12830"/>
		<updated>2016-04-13T23:41:50Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* How can I clear the memcached-based UI cache? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= NCBO VIRTUAL APPLIANCE v2.0 FAQ =&lt;br /&gt;
This FAQ now covers the NCBO Virtual Appliance v2.0. The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I add or change slices? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Slices can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ont1 = LinkedData::Models::Ontology.find(&amp;quot;ONT1&amp;quot;).first&lt;br /&gt;
ont2 = LinkedData::Models::Ontology.find(&amp;quot;ONT2&amp;quot;).first&lt;br /&gt;
slice = LinkedData::Models::Slice.new&lt;br /&gt;
slice.name = &amp;quot;My Slice&amp;quot;,&lt;br /&gt;
slice.description = &amp;quot;This is my custom slice&amp;quot;,&lt;br /&gt;
slice.acronym = &amp;quot;my_slice&amp;quot;,&lt;br /&gt;
slice.ontologies = [ont1, ont2]&lt;br /&gt;
slice.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
Programmatic migrations are currently unsupported. Ontologies can be manually downloaded and added using the Web UI.&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ncbobp user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://example:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://{your_appliance_ip_or_domain_name}/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance ===&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx).&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12829</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12829"/>
		<updated>2016-04-13T23:20:18Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* General Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.4 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
* To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] to initiate your request. You'll then be asked privately for your BioPortal account username. organizational goals, and reason for preferring the local installation. (If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.) The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
* The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
Amazon AMI is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
Virtual Appliance Web UI can be accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.6 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.10.4 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 3.2.x&lt;br /&gt;
*Ruby 2.1.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.8.18&lt;br /&gt;
*nginx 1.6.3&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for BioPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for BioPortal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12828</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12828"/>
		<updated>2016-04-13T21:15:12Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* General Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.4 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
* To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] to initiate your request. You'll then be asked privately for your BioPortal account username. organizational goals, and reason for preferring the local installation. (If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.) The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
* The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
Amazon AMI is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
BioPortal UI is accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by using the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.6 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.10.4 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 3.2.x&lt;br /&gt;
*Ruby 2.1.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.8.18&lt;br /&gt;
*nginx 1.6.3&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for BioPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for BioPortal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12827</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12827"/>
		<updated>2016-04-13T21:14:55Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* General Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.4 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
* To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] to initiate your request. You'll then be asked privately for your BioPortal account username. organizational goals, and reason for preferring the local installation. (If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.) The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
* The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
Amazon AMI is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
BioPortal UI is accessed at http://{ip_address_of_appliance}.  You can get IP address of the Appliance by usign the following command in the terminal 'ip addr show eth0'&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{ip_address_of_appliance}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://{ip_address_of_appliance}:8080&lt;br /&gt;
** http://{ip_address_of_appliance}/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.6 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.10.4 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 3.2.x&lt;br /&gt;
*Ruby 2.1.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.8.18&lt;br /&gt;
*nginx 1.6.3&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration&lt;br /&gt;
* 2 text editors are originally installed: nano and vim&lt;br /&gt;
* All services required for BioPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for BioPortal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12800</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12800"/>
		<updated>2016-01-27T22:07:05Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* Basic System Administration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.4 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF, as well as an Amazon Web Service AMI, and can be obtained by contacting us following the instructions under '''Getting Started''' below.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
* To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] to initiate your request. You'll then be asked privately for your BioPortal account username. organizational goals, and reason for preferring the local installation. (If you don't have a BioPortal account, you can create one at: http://bit.ly/bioportal-account.) The overall transaction can take a few working days, depending on resource availability.&lt;br /&gt;
* The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
Amazon AMI is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{YourDomainName}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://example:8080&lt;br /&gt;
** http://example:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.6 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.10.4 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 3.2.x&lt;br /&gt;
*Ruby 2.1.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.8.18&lt;br /&gt;
*nginx 1.6.3&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* We assume familiarity with basic CentOS Linux administration &lt;br /&gt;
* All services required for BioPortal Stack are automatically started on boot.  For troubleshooting purposes you can manually stop/start services:&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually restart services required for BioPortal Stack.   &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: manually start services.  &lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=User_talk:Vemonet&amp;diff=12799</id>
		<title>User talk:Vemonet</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=User_talk:Vemonet&amp;diff=12799"/>
		<updated>2016-01-27T18:41:19Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to ''NCBO Wiki''!'''&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [[Help:Contents|help pages]].&lt;br /&gt;
Again, welcome and have fun! [[User:Alexskr|alexskr]] ([[User talk:Alexskr|talk]]) 10:41, 27 January 2016 (PST)&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=User:Vemonet&amp;diff=12798</id>
		<title>User:Vemonet</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=User:Vemonet&amp;diff=12798"/>
		<updated>2016-01-27T18:41:19Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: Creating user page for new user.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12731</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12731"/>
		<updated>2015-04-14T23:09:46Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* System Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.4 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF as well as Amazon AWS AMI and can be obtained by contacting support@bioontology.org.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
* To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] and include your BioPortal account username. You can create a BioPortal account at: http://bit.ly/bioportal-account&lt;br /&gt;
* The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
Amazon AMI is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{YourDomainName}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://example:8080&lt;br /&gt;
** http://example:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM  (or more depending on the size/number of ontologies)&lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.6 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.10.4 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 3.2.x&lt;br /&gt;
*Ruby 2.1.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.8.18&lt;br /&gt;
*nginx 1.6.3&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* Helper commands:&lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: the required services are started on boot automatically, but if they need to be started automatically&lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually start/stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12730</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12730"/>
		<updated>2015-04-14T23:08:38Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.4 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF as well as Amazon AWS AMI and can be obtained by contacting support@bioontology.org.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.4:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
* To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] and include your BioPortal account username. You can create a BioPortal account at: http://bit.ly/bioportal-account&lt;br /&gt;
* The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
Amazon AMI is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{YourDomainName}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://example:8080&lt;br /&gt;
** http://example:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM &lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.6 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.10.4 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 3.2.x&lt;br /&gt;
*Ruby 2.1.5&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.8.18&lt;br /&gt;
*nginx 1.6.3&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* Helper commands:&lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: the required services are started on boot automatically, but if they need to be started automatically&lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually start/stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12729</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12729"/>
		<updated>2015-04-14T23:04:39Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* NCBO VIRTUAL APPLIANCE v2.2 IS NOW AVAILABLE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.4 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF as well as Amazon AWS AMI and can be obtained by contacting support@bioontology.org.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.2:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
* To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] and include your BioPortal account username. You can create a BioPortal account at: http://bit.ly/bioportal-account&lt;br /&gt;
* The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
Amazon AMI is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{YourDomainName}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://example:8080&lt;br /&gt;
** http://example:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM &lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.5 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.7.2 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 2.3.x&lt;br /&gt;
*Ruby 2.0.0p353&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.6.14&lt;br /&gt;
*nginx 1.6.0&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* Helper commands:&lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: the required services are started on boot automatically, but if they need to be started automatically&lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually start/stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12713</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12713"/>
		<updated>2015-01-27T18:53:10Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= NCBO VIRTUAL APPLIANCE v2.0 FAQ =&lt;br /&gt;
This FAQ now covers the NCBO Virtual Appliance v2.0. The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the ncbobp user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
Programmatic migrations are currently unsupported. Ontologies can be manually downloaded and added using the Web UI.&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console after switching to ncbobp user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://example:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://example/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance ===&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx).&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12708</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12708"/>
		<updated>2014-11-27T00:05:41Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* What is the admin password for the AWS Appliance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= NCBO VIRTUAL APPLIANCE v2.0 FAQ =&lt;br /&gt;
This FAQ now covers the NCBO Virtual Appliance v2.0. The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the root user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the root user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
Programmatic migrations are currently unsupported. Ontologies can be manually downloaded and added using the Web UI.&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://example:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://example/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance ===&lt;br /&gt;
The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx).&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12707</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12707"/>
		<updated>2014-11-27T00:05:08Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* How can I use the Appliance on Amazon EC2? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= NCBO VIRTUAL APPLIANCE v2.0 FAQ =&lt;br /&gt;
This FAQ now covers the NCBO Virtual Appliance v2.0. The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the root user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the root user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
Programmatic migrations are currently unsupported. Ontologies can be manually downloaded and added using the Web UI.&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://example:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://example/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;br /&gt;
&lt;br /&gt;
=== What is the admin password for the AWS Appliance ===&lt;br /&gt;
 The default application administrator is 'admin' and the initial password is the Instance ID (i-xxxxxxxx).&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12706</id>
		<title>Virtual Appliance FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Virtual_Appliance_FAQ&amp;diff=12706"/>
		<updated>2014-11-27T00:00:16Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* How can I use the Appliance on Amazon EC2? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:NCBO Virtual Appliance]]&lt;br /&gt;
&lt;br /&gt;
= NCBO VIRTUAL APPLIANCE v2.0 FAQ =&lt;br /&gt;
This FAQ now covers the NCBO Virtual Appliance v2.0. The FAQ for v1.0 is available in the [http://www.bioontology.org/wiki/index.php?title=Virtual_Appliance_FAQ&amp;amp;oldid=12621 archive]&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
== How can I enable emails for lost passwords, notes, and ontology processing? ==&lt;br /&gt;
&lt;br /&gt;
Emails are sent via the ontologies_api project on the Appliance. You need to provide a valid mail server (smtp) configuration. The configuration should be provided in the /srv/ncbo/ontologies_api/current/config/environments/production.rb file.&lt;br /&gt;
&lt;br /&gt;
Here are the available settings:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  config.enable_notifications   = true # Set to 'true' to send emails&lt;br /&gt;
  config.email_sender           = &amp;quot;admin@example.org&amp;quot; # Default sender for emails&lt;br /&gt;
  config.email_disable_override = true # If this is set to 'false', all emails will be sent to the email configured in the 'email_override' setting&lt;br /&gt;
  config.email_override         = &amp;quot;admin@example.org&amp;quot;&lt;br /&gt;
  config.smtp_host              = &amp;quot;smtp.example.org&amp;quot;&lt;br /&gt;
  config.smtp_port              = 25&lt;br /&gt;
  config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5&lt;br /&gt;
  config.smtp_user              = &amp;quot;username&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_password          = &amp;quot;password&amp;quot; # only used if auth_type is not :none&lt;br /&gt;
  config.smtp_domain            = &amp;quot;example.org&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have changed your settings, you will need to restart the server by running the command &amp;lt;code&amp;gt;/sbin/service unicorn restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ontology Management =&lt;br /&gt;
&lt;br /&gt;
== How do I add or change categories or groups? ==&lt;br /&gt;
There is currently no UI administrator interface (though this will likely be added in future versions). Categories and groups can be added using a console after logging into the Appliance as the root user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
category = LinkedData::Models::Category.new&lt;br /&gt;
category.name = &amp;quot;My Category&amp;quot;&lt;br /&gt;
category.acronym = &amp;quot;MY_CAT&amp;quot;&lt;br /&gt;
category.save&lt;br /&gt;
group = LinkedData::Models::Group.new&lt;br /&gt;
group.name = &amp;quot;My Group&amp;quot;&lt;br /&gt;
group.acronym = &amp;quot;MY_GRP&amp;quot;&lt;br /&gt;
group.save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do I delete an ontology? ==&lt;br /&gt;
Deleting can be done using a console after logging into the Appliance as the root user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ONTOLOGY_ACRONYM&amp;quot;).first&lt;br /&gt;
ontology.delete&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I migrate ontologies from BioPortal or previous NCBO Virtual Appliance versions into a new Appliance? ==&lt;br /&gt;
Programmatic migrations are currently unsupported. Ontologies can be manually downloaded and added using the Web UI.&lt;br /&gt;
&lt;br /&gt;
= Ontology Parsing =&lt;br /&gt;
== When are new ontologies parsed? ==&lt;br /&gt;
The ncbo_cron project uses a scheduler to run a process that collects new ontology submissions and parses them, adds them to the search index, calculates metrics, and processes them for use with the annotator. You can also parse ontologies manually.&lt;br /&gt;
&lt;br /&gt;
== How do I manually parse an ontology? ==&lt;br /&gt;
To manually parse an ontology, you will need to interact with the code using the console:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# from the bash shell:&lt;br /&gt;
cd /srv/ncbo/ncbo_cron&lt;br /&gt;
bin/ncbo_cron --console&lt;br /&gt;
# once in the ruby console:&lt;br /&gt;
ontology = LinkedData::Models::Ontology.find(&amp;quot;MY_ACRONYM&amp;quot;).first&lt;br /&gt;
submission = ontology.latest_submission(status: :any)&lt;br /&gt;
logger = Logger.new(STDOUT)&lt;br /&gt;
submission.process_submission(logger)&lt;br /&gt;
# make available in annotator&lt;br /&gt;
annotator = Annotator::Models::NcboAnnotator.new&lt;br /&gt;
annotator.create_term_cache_for_submission(logger, submission)&lt;br /&gt;
annotator.generate_dictionary_file()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I process a UMLS ontology? ==&lt;br /&gt;
&lt;br /&gt;
UMLS ontologies can be processed to work with our system by converting them to RDF. There is no automated way to do this and you must have your own UMLS MySQL installation and a OSX/Linux/Unix machine with 8GB+ of RAM in order for the conversion process to work. The scripts to convert UMLS to RDF are available on [https://github.com/ncbo/umls2rdf Github].&lt;br /&gt;
&lt;br /&gt;
Once you have converted UMLS to RDF, you will get Turtle (.ttl) files that can be uploaded using the BioPortal Web UI. Please select UMLS as the format for these ontologies.&lt;br /&gt;
&lt;br /&gt;
== How do I know if an ontology has parsed? ==&lt;br /&gt;
The BioPortal Web UI will cache information about ontologies for 60 seconds. After parsing is complete, just refresh the ontology summary page to see the status for the most recent submission listed under the &amp;quot;Submissions&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
In addition, you can look at the REST service directly, which will always give you the most updated information. To do this, visit the following URL:&lt;br /&gt;
* http://example:8080/ontologies/{ontology_acronym}/latest_submission?include=all&lt;br /&gt;
* You can look for the submissionStatus attribute to get the status&lt;br /&gt;
&lt;br /&gt;
== Is there a log file for parsing? ==&lt;br /&gt;
Parsing progress is logged in the ontology submission repository folder:&lt;br /&gt;
/srv/ncbo/repository/{ontology acronym}/{submission id}&lt;br /&gt;
&lt;br /&gt;
= Web User Interface =&lt;br /&gt;
== How can I clear the memcached-based UI cache? ==&lt;br /&gt;
* If you are logged in as the admin user, simply visit http://example/admin and click the &amp;quot;Flush Memcache&amp;quot; button. There should be a response indicating success or failure.&lt;br /&gt;
&lt;br /&gt;
== How can I use widgets with my Virtual Appliance? ==&lt;br /&gt;
In addition to the [http://www.bioontology.org/wiki/index.php/NCBO_Widgets#How_to_use_NCBO_Widgets existing instructions], you must define an additional Javascript variable in order to have the widgets communicate with your instance of the Virtual Appliance.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  var BP_SEARCH_SERVER = &amp;quot;http://{your_appliance_ip_or_domain_name}&amp;quot;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Replace the '{your_appliance_ip_or_domain_name}' text with the IP address or domain name that's assigned to your Virtual Appliance.&lt;br /&gt;
&lt;br /&gt;
= Virtualization Environments =&lt;br /&gt;
&lt;br /&gt;
== How can I use the OVF image with my virtualization software? &amp;lt;br/&amp;gt;&amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot;&amp;gt;(VMware, VirtualBox, KVM, Xen, etc)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== VMware ===&lt;br /&gt;
You can use [http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf VMware's ovftool] to convert the appliance to work with your VMware product. For example, to convert the appliance for use in VMware Player or Workstation, you would run the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ovftool ncbo-appliance.ovf ncbo-appliance.vmx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
VirtualBox supports importing OVF images directly. Simply start your VirtualBox software, then select '''File-&amp;gt;Import Appliance''' and select the OVF file included in the NCBO Virtual Appliance download.&lt;br /&gt;
&lt;br /&gt;
=== KVM ===&lt;br /&gt;
First, convert the OVF to VMX format as mentioned in the VMware section above.&lt;br /&gt;
&lt;br /&gt;
Next, ensure that the &amp;lt;code&amp;gt;kvm-qemu-img&amp;lt;/code&amp;gt; RPM (or &amp;lt;code&amp;gt;qemu-kvm&amp;lt;/code&amp;gt; DEB) is installed. Then, convert the [new] VMDKs (from the VMX conversion step) to raw disk images via the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for disk in `ls -1 *.vmdk`; do diskbase=`basename $disk .vmdk`; qemu-img convert -O raw ${diskbase}.vmdk ${diskbase}.img; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/libvirt/qemu/ncbo-appliance.xml&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;domain type='kvm'&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;ncbo-appliance&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;memory&amp;gt;4194304&amp;lt;/memory&amp;gt;&lt;br /&gt;
  &amp;lt;vcpu&amp;gt;2&amp;lt;/vcpu&amp;gt;&lt;br /&gt;
  &amp;lt;os&amp;gt;&lt;br /&gt;
    &amp;lt;type arch='x86_64' machine='rhel5.4.0'&amp;gt;hvm&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;boot dev='hd'/&amp;gt;&lt;br /&gt;
  &amp;lt;/os&amp;gt;&lt;br /&gt;
  &amp;lt;features&amp;gt;&lt;br /&gt;
    &amp;lt;acpi/&amp;gt;&lt;br /&gt;
    &amp;lt;apic/&amp;gt;&lt;br /&gt;
    &amp;lt;pae/&amp;gt;&lt;br /&gt;
  &amp;lt;/features&amp;gt;&lt;br /&gt;
  &amp;lt;clock offset='utc'&amp;gt;&lt;br /&gt;
    &amp;lt;timer name='pit' tickpolicy='delay'/&amp;gt;&lt;br /&gt;
  &amp;lt;/clock&amp;gt;&lt;br /&gt;
  &amp;lt;on_poweroff&amp;gt;destroy&amp;lt;/on_poweroff&amp;gt;&lt;br /&gt;
  &amp;lt;on_reboot&amp;gt;restart&amp;lt;/on_reboot&amp;gt;&lt;br /&gt;
  &amp;lt;on_crash&amp;gt;restart&amp;lt;/on_crash&amp;gt;&lt;br /&gt;
  &amp;lt;devices&amp;gt;&lt;br /&gt;
    &amp;lt;emulator&amp;gt;/usr/libexec/qemu-kvm&amp;lt;/emulator&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk1.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hda' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;disk type='file' device='disk'&amp;gt;&lt;br /&gt;
      &amp;lt;driver name='qemu' type='raw'/&amp;gt;&lt;br /&gt;
      &amp;lt;source file='/var/lib/libvirt/images/ncbo-appliance/ncbo-appliance-disk2.img'/&amp;gt;&lt;br /&gt;
      &amp;lt;target dev='hdb' bus='ide'/&amp;gt;&lt;br /&gt;
      &amp;lt;address type='drive' controller='0' bus='0' unit='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/disk&amp;gt;&lt;br /&gt;
    &amp;lt;controller type='ide' index='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;interface type='network'&amp;gt;&lt;br /&gt;
      &amp;lt;source network='default'/&amp;gt;&lt;br /&gt;
      &amp;lt;model type='virtio'/&amp;gt;&lt;br /&gt;
    &amp;lt;/interface&amp;gt;&lt;br /&gt;
    &amp;lt;serial type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/serial&amp;gt;&lt;br /&gt;
    &amp;lt;console type='pty'&amp;gt;&lt;br /&gt;
      &amp;lt;target port='0'/&amp;gt;&lt;br /&gt;
    &amp;lt;/console&amp;gt;&lt;br /&gt;
    &amp;lt;input type='mouse' bus='ps2'/&amp;gt;&lt;br /&gt;
    &amp;lt;graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/&amp;gt;&lt;br /&gt;
    &amp;lt;video&amp;gt;&lt;br /&gt;
      &amp;lt;model type='cirrus' vram='9216' heads='1'/&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
  &amp;lt;/devices&amp;gt;&lt;br /&gt;
&amp;lt;/domain&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virsh start ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xen ===&lt;br /&gt;
First, convert the VMDKs to raw disk images as mentioned in the KVM section above.&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;/etc/xen/ncbo-appliance.cfg&amp;lt;/code&amp;gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = &amp;quot;ncbo-appliance&amp;quot;&lt;br /&gt;
memory = 4096&lt;br /&gt;
vcpus = 2&lt;br /&gt;
builder = &amp;quot;hvm&amp;quot;&lt;br /&gt;
kernel = &amp;quot;/usr/lib/xen/boot/hvmloader&amp;quot;&lt;br /&gt;
boot = &amp;quot;c&amp;quot;&lt;br /&gt;
pae = 1&lt;br /&gt;
acpi = 1&lt;br /&gt;
apic = 1&lt;br /&gt;
localtime = 0&lt;br /&gt;
on_poweroff = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_reboot = &amp;quot;destroy&amp;quot;&lt;br /&gt;
on_crash = &amp;quot;destroy&amp;quot;&lt;br /&gt;
device_model = &amp;quot;/usr/lib64/xen/bin/qemu-dm&amp;quot;&lt;br /&gt;
sdl = 0&lt;br /&gt;
vnc = 1&lt;br /&gt;
vncunused = 1&lt;br /&gt;
keymap = &amp;quot;en-us&amp;quot;&lt;br /&gt;
disk = [ &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk1.img,hda,w&amp;quot;, &amp;quot;file:/var/lib/xen/images/ncbo-appliance/ncbo-appliance-disk2.img,hdb,w&amp;quot; ]&lt;br /&gt;
vif = [ &amp;quot;bridge=xenbr0,script=vif-bridge,vifname=vif41.0&amp;quot; ]&lt;br /&gt;
parallel = &amp;quot;none&amp;quot;&lt;br /&gt;
serial = &amp;quot;pty&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make any necessary edits to the above file, and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xm create ncbo-appliance&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How can I use the Appliance on Amazon EC2? ==&lt;br /&gt;
&lt;br /&gt;
Appliance is available on [https://aws.amazon.com/marketplace/pp/B00MX5YKVU Amazon Marketplace]&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12705</id>
		<title>Category:NCBO Virtual Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;diff=12705"/>
		<updated>2014-11-26T23:53:11Z</updated>

		<summary type="html">&lt;p&gt;Alexskr: /* Amazon AWS AMI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== NCBO VIRTUAL APPLIANCE v2.2 IS NOW AVAILABLE ==&lt;br /&gt;
The NCBO Virtual Appliance has been updated to use NCBO's new v4.0 software infrastructure, including the use of an RDF triplestore as the primary data storage mechanism. Please read below as much of the Appliance workflow has changed.&lt;br /&gt;
&lt;br /&gt;
For documentation of v1.0 Virtual Appliances, please see our [http://www.bioontology.org/wiki/index.php?title=Category:NCBO_Virtual_Appliance&amp;amp;oldid=12610 archive].&lt;br /&gt;
&lt;br /&gt;
== Virtual Appliance Basics ==&lt;br /&gt;
&lt;br /&gt;
The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. &lt;br /&gt;
&lt;br /&gt;
It is available as a VMWare Virtual Appliance OVF as well as Amazon AWS AMI and can be obtained by contacting support@bioontology.org.&lt;br /&gt;
&lt;br /&gt;
The following software is included on the image as of v2.2:&lt;br /&gt;
* Ontologies API (REST service)&lt;br /&gt;
* Annotator&lt;br /&gt;
* Recommender&lt;br /&gt;
* BioPortal Web User Interface (including ontology visualization, widgets, biomixer, and Annotator UI)&lt;br /&gt;
&lt;br /&gt;
Please see below for how-to documentation for managing the software and running data population for Annotator.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
=== VMWare Virtual Appliance ===&lt;br /&gt;
* To obtain the VMWare Virtual Appliance, contact [mailto:support@bioontology.org NCBO Support] and include your BioPortal account username. You can create a BioPortal account at: http://bit.ly/bioportal-account&lt;br /&gt;
* The download is provided as a zip archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_can_I_use_the_OVF_image_with_my_virtualization_software.3F_.28VMWare.2C_VirtualBox.2C_KVM.2C_Xen.2C_etc.29 converted to work in your virtualization environment].&lt;br /&gt;
* You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer to this hostname as 'example'.&lt;br /&gt;
* '''Change default passwords'''&lt;br /&gt;
** Operating System&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: password is prompted on the first boot&lt;br /&gt;
** BioPortal Admin User&lt;br /&gt;
*** Username: &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Password: &amp;lt;code&amp;gt;changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Amazon AWS AMI ===&lt;br /&gt;
Amazon AMI is available on the [https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&amp;amp;id=76948a46-8f8a-4a68-9a5c-3e3ff6b82d10 AWS Market Place].  Please contact [mailto:support@bioontology.org NCBO Support] for more information.&lt;br /&gt;
Once the instance is running, enter the public DNS provided by Amazon into your browser to access BioPortal web interface.   The default application administrator is 'admin' and the initial password is the Instance ID.  You can also SSH to the machine using the username 'ec2-user' and your Amazon private key.&lt;br /&gt;
&lt;br /&gt;
=== General Instruction ===&lt;br /&gt;
* Add an ontology using the BioPortal Admin User here: http://{YourDomainName}/ontologies/new&lt;br /&gt;
** The ncbo_cron project is configured to automatically process new ontologies every 5 minutes (see [http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#When_are_new_ontologies_parsed.3F documentation for enabling the scheduler]). This processing includes:&lt;br /&gt;
*** Parsing any new, unparsed ontologies&lt;br /&gt;
*** Calculating a set of metrics for these ontologies&lt;br /&gt;
*** Indexing these ontologies for use with search&lt;br /&gt;
*** Processing the ontology for use with the annotator&lt;br /&gt;
* REST services are available at the following location:&lt;br /&gt;
** http://example:8080&lt;br /&gt;
** http://example:8080/documentation&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
The following requirements are for the resources that you devote to your Appliance instance, not for the machine running your host environment. For example, if you are using a system with 4GB of RAM, then you will need to devote all of that RAM to your guest Appliance.&lt;br /&gt;
&lt;br /&gt;
'''Note: these requirements are for basic usage'''. System requirements will vary greatly depending on the size of the ontologies you work with, the number of ontologies in the system, and the number of concurrent requests that the system needs to respond to. It can also vary depending on how the ontologies are used. For example, the search index can be RAM-intensive but parsing ontologies can be CPU-intensive. You will need to experiment with your Appliance resource settings to find what works for your scenario.&lt;br /&gt;
&lt;br /&gt;
* Minimum&lt;br /&gt;
** 2 CPU (2 GHz)&lt;br /&gt;
** 4GB RAM&lt;br /&gt;
** Hard disk space: 20GB&lt;br /&gt;
&lt;br /&gt;
* Recommended for heavier usage&lt;br /&gt;
** 4 CPU (3 GHz) &lt;br /&gt;
** 8GB RAM &lt;br /&gt;
** Hard disk space: 20GB (or more depending on number/size of ontologies)&lt;br /&gt;
&lt;br /&gt;
== Image Format and Operating System Details ==&lt;br /&gt;
The NCBO Appliance image was created using the [http://www.vmware.com/appliances/getting-started/learn/ovf.html Open Virtualization Format], which should allow the machine to be used in a variety of environments.&lt;br /&gt;
&lt;br /&gt;
The operating system is CentOS 6.5 64-bit running:&lt;br /&gt;
*Tomcat 6.0.26 &lt;br /&gt;
*Solr 4.7.2 &lt;br /&gt;
*Java 7&lt;br /&gt;
*MySQL 5.1.x&lt;br /&gt;
*Rails 2.3.x&lt;br /&gt;
*Ruby 2.0.0p353&lt;br /&gt;
*memcached &lt;br /&gt;
*redis 2.6.14&lt;br /&gt;
*nginx 1.6.0&lt;br /&gt;
*4store&lt;br /&gt;
*Passenger/Apache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following applications use these services/runtime environments:&lt;br /&gt;
* Sinatra, Ruby, 4store, redis&lt;br /&gt;
** Ontologies API&lt;br /&gt;
** Annotator&lt;br /&gt;
** Recommender&lt;br /&gt;
* Rails, Ruby, memcached, mysql&lt;br /&gt;
** BioPortal Web User Interface (including ontology visualization, Flex widgets, biomixer, Annotator)&lt;br /&gt;
* Tomcat, Solr&lt;br /&gt;
** Search index&lt;br /&gt;
&lt;br /&gt;
== Basic System Administration ==&lt;br /&gt;
* Most of our administration scripts and build environment assume that you will be running as the root user.&lt;br /&gt;
* Helper commands:&lt;br /&gt;
** &amp;lt;code&amp;gt;bpstart&amp;lt;/code&amp;gt;: the required services are started on boot automatically, but if they need to be started automatically&lt;br /&gt;
** &amp;lt;code&amp;gt;bpstop&amp;lt;/code&amp;gt;: manually stop services&lt;br /&gt;
** &amp;lt;code&amp;gt;bprestart&amp;lt;/code&amp;gt;: manually start/stop services&lt;br /&gt;
* Start individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api start&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop individual services:&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service httpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service memcached stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service tomcat6 stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service mgrep stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service 4s-httpd-ontologies_api stop&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/sbin/service unicorn stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.&lt;/div&gt;</summary>
		<author><name>Alexskr</name></author>
	</entry>
</feed>