<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ontologforum.com/index.php?action=history&amp;feed=atom&amp;title=OOR_SandBox_Customization</id>
	<title>OOR SandBox Customization - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ontologforum.com/index.php?action=history&amp;feed=atom&amp;title=OOR_SandBox_Customization"/>
	<link rel="alternate" type="text/html" href="https://ontologforum.com/index.php?title=OOR_SandBox_Customization&amp;action=history"/>
	<updated>2026-05-25T22:45:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://ontologforum.com/index.php?title=OOR_SandBox_Customization&amp;diff=2162&amp;oldid=prev</id>
		<title>imported&gt;KennethBaclawski: Fix PurpleMediaWiki references</title>
		<link rel="alternate" type="text/html" href="https://ontologforum.com/index.php?title=OOR_SandBox_Customization&amp;diff=2162&amp;oldid=prev"/>
		<updated>2016-01-09T07:44:58Z</updated>

		<summary type="html">&lt;p&gt;Fix PurpleMediaWiki references&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page describes installation and customization details to the [http://www.bioontology.org/wiki/index.php/Category:NCBO_Virtual_Appliance NCBO Virtual Appliance] to create an OOR instance. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
Download the OVF image for the [http://www.bioontology.org/wiki/index.php/Category:NCBO_Virtual_Appliance NCBO Virtual Appliance].  The URL is not public. &lt;br /&gt;
&lt;br /&gt;
The current version (used in examples below) is ncbo-appliance-0.3.ova. &lt;br /&gt;
&lt;br /&gt;
== VM Conversion  ==&lt;br /&gt;
&lt;br /&gt;
The OVF image needs to be converted for the desired VM environment. &lt;br /&gt;
&lt;br /&gt;
=== VMware  ===&lt;br /&gt;
&lt;br /&gt;
The image requires a 64-bit host with enabled support for Intel Virtualization Technology (VT). &lt;br /&gt;
&lt;br /&gt;
To convert the OVF image for execution under VMware: &lt;br /&gt;
&lt;br /&gt;
# Download [http://www.vmware.com/resources/techresources/1013 VMware OVF Tool] from http://www.vmware.com/support/developer/ovf/. &lt;br /&gt;
# Run ovftool ncbo-appliance-0.3.ova . &lt;br /&gt;
# Execute the resulting ncbo-appliance-0.3/ncbo-appliance-0.3.vmx file under VMware, by double-clicking the file icon or opening it within VMware. &lt;br /&gt;
# Click through the initial Linux text screen setup questions. &lt;br /&gt;
&lt;br /&gt;
=== Xen  ===&lt;br /&gt;
&lt;br /&gt;
* at CIM3 we use para-virtualized guests (and therefore, would prefer vm images for that over fully-virtualized guests.) --ShinyaYamada/2011.10.31 &lt;br /&gt;
&lt;br /&gt;
To convert the OVF image for execution under Xen: &lt;br /&gt;
&lt;br /&gt;
# Download &amp;lt;nowiki&amp;gt;XenConvert&amp;lt;/nowiki&amp;gt; from http://www.citrix.com/english/ss/downloads/details.asp?downloadId=2306318. &lt;br /&gt;
# Run &amp;lt;nowiki&amp;gt;XenConvert&amp;lt;/nowiki&amp;gt; under Windows.  This requires access to a running &amp;lt;nowiki&amp;gt;XenServer&amp;lt;/nowiki&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
This hasn't yet been successfully accomplished. &lt;br /&gt;
&lt;br /&gt;
=== KVM  ===&lt;br /&gt;
&lt;br /&gt;
... ''(coming!)'' &lt;br /&gt;
&lt;br /&gt;
== Basic Customization: from [[BioPortal]] (ncbo-appliance) to an [[OOR]] instance  ==&lt;br /&gt;
&lt;br /&gt;
=== Banner, Logo, etc.  ===&lt;br /&gt;
&lt;br /&gt;
# Login to the running image. &lt;br /&gt;
# Edit /var/rails/&amp;lt;nowiki&amp;gt;BioPortal&amp;lt;/nowiki&amp;gt;/current/config/bioportal_config.rb, changing at least &lt;br /&gt;
** ORG (e.g. to SOCoP) &lt;br /&gt;
** SITE (e.g. to OOR) &lt;br /&gt;
** ORG_URL (e.g. to http://socop.org). &lt;br /&gt;
# Replace the &amp;lt;nowiki&amp;gt;BioPortal&amp;lt;/nowiki&amp;gt; logo with the OOR logo. &lt;br /&gt;
** public/maintenance/nav_logo.jpg             (126x43)  Medium logo using the color gradient &lt;br /&gt;
** public/maintenance/logo_background.jpg      (1x43)    The color gradient &lt;br /&gt;
** public/images/ncbo_logo_portal.gif           (463x157) Large logo &lt;br /&gt;
** public/images/logo.png                      (463x157) Large logo copy &lt;br /&gt;
** public/images/layout/logo_mini.png          (85x20)   Small logo using the color gradient &lt;br /&gt;
** public/images/layout/nav_logo.png           (126x43)  Medium logo copy &lt;br /&gt;
# Replace the &amp;lt;nowiki&amp;gt;BioPortal&amp;lt;/nowiki&amp;gt; IPR policy with the OOR or instance policy. &lt;br /&gt;
** The IPR license is at license.txt &lt;br /&gt;
# &amp;quot;Send Feedback&amp;quot; form should be mailed to &amp;lt;support [at] oor.net&amp;gt; &lt;br /&gt;
** which currently gets forwarded to: [[TejasParikh|Tejas Parikh]], [[User:KennethBaclawski|Ken Baclawski]], [[MikeDean|Mike Dean]], [[PeterYim|Peter P. Yim]] and &amp;lt;oor-users [at] ontolog.cim3.net&amp;gt; (i.e. the [oor-dev] mailing list)  --PeterYim/2011.10.14 &lt;br /&gt;
** admin contact is now routed to &amp;lt;tejas [at] cim3.com&amp;gt; --tejas/2011.12.11 &lt;br /&gt;
# Run ncborestart. &lt;br /&gt;
&lt;br /&gt;
=== Enable Google Analytics  ===&lt;br /&gt;
&lt;br /&gt;
* Enter the appropriate ID below as $ANALYTICS_ID in bioportal_config.rb &lt;br /&gt;
* OOR-instance / Web Property ID &lt;br /&gt;
** sandbox.oor.net / UA-7295028-10 &lt;br /&gt;
** dev.oor.net / UA-7295028-11 &lt;br /&gt;
** socop.oor.net / UA-7295028-12 &lt;br /&gt;
&lt;br /&gt;
=== Ontology Categories  ===&lt;br /&gt;
&lt;br /&gt;
# Add OOR categories below per the instructions at http://www.bioontology.org/wiki/index.php/Virtual_Appliance_FAQ#How_do_I_add_or_change_categories.3F. &lt;br /&gt;
## You may need to download the &amp;lt;nowiki&amp;gt;[[MySQL]]&amp;lt;/nowiki&amp;gt; JDBC driver and copy it to the Protege directory as driver.jar per http://protegewiki.stanford.edu/wiki/Working_with_the_Database_Backend_in_OWL#Before_you_start &lt;br /&gt;
## Use jdbc:mysql://localhost/bioportal_protege and run, e.g., ssh oor-03.cim3.net -L 3306:localhost:3306 &lt;br /&gt;
# Run ncborestart. &lt;br /&gt;
# Verify the updated categories by opening the Browse panel and clicking the Filter by Category menu &lt;br /&gt;
&lt;br /&gt;
* Category list (based on MikeDean's original list): ([http://ontolog.cim3.net/cgi-bin/wiki.pl?OOR/ConferenceCall_2011_08_05#nid2W6B updated 2011.08.05]) &lt;br /&gt;
## Upper Ontologies &lt;br /&gt;
## Standards (for example, W3C, ISO, OMG, Measurement) &lt;br /&gt;
## Science (for example, Biomedical) &lt;br /&gt;
## Financial &lt;br /&gt;
## Government &lt;br /&gt;
## Cultural &lt;br /&gt;
## Social Networking (for example, People, Organizations) &lt;br /&gt;
## Geospatial &lt;br /&gt;
## Commercial &lt;br /&gt;
## Literature &lt;br /&gt;
## Technology &lt;br /&gt;
## Provenance &lt;br /&gt;
## Defense &lt;br /&gt;
## Metadata (for example, OMV, Dublin Core) &lt;br /&gt;
## Process (for example, PSL) &lt;br /&gt;
## Other &lt;br /&gt;
&lt;br /&gt;
=== Support / Syndication / Social Network  ===&lt;br /&gt;
&lt;br /&gt;
* The twitter and facebook buttons can easily be removed by commenting out the div element with id &amp;quot;social_networking&amp;quot; in .../&amp;lt;nowiki&amp;gt;BioPortal&amp;lt;/nowiki&amp;gt;/current/app/views/home/index.rhtml (on lines 154 to 157). If you want to enable them, then you must define home.facebook_button and home.twitter_button. &lt;br /&gt;
* As mentioned in [[OOR_SandBox_Customization|above]]: feedback and support goes to &amp;lt;support [at] oor.net&amp;gt; &lt;br /&gt;
* The RSS feed citation can be removed from .../&amp;lt;nowiki&amp;gt;BioPortal&amp;lt;/nowiki&amp;gt;/current/config/locales/en.rb &lt;br /&gt;
&lt;br /&gt;
=== Home Page Statistics  ===&lt;br /&gt;
&lt;br /&gt;
# Edit /srv/ncbo/rails/&amp;lt;nowiki&amp;gt;BioPortal&amp;lt;/nowiki&amp;gt;/current/config/locales/en.rb to set :stats =&amp;gt; ''. &lt;br /&gt;
# Manually edit :most_viewed in the same file, if desired for Most Viewed Ontologies. &lt;br /&gt;
&lt;br /&gt;
=== reCaptcha  ===&lt;br /&gt;
&lt;br /&gt;
* This is important for preventing wikispam. &lt;br /&gt;
* If you do not have a google account then signup for one. &lt;br /&gt;
* Go to http://www.google.com/recaptcha. &lt;br /&gt;
* Click on &amp;quot;My Account&amp;quot; and then &amp;quot;Add a new site&amp;quot;. &lt;br /&gt;
* Enter the domain or IP address of the server (e.g., oor-03.cim3.net). &lt;br /&gt;
* Note that you need a different pair of keys for each domain. &lt;br /&gt;
* Copy the public and private keys to /srv/ncbo/rails/&amp;lt;nowiki&amp;gt;BioPortal&amp;lt;/nowiki&amp;gt;/current/config/bioportal_config.rb as follows (except for replacing the keys): &lt;br /&gt;
** ENV['USE_RECAPTCHA'] = 'true' &lt;br /&gt;
** ENV['RECAPTCHA_PUBLIC_KEY']  = '6Ld9UM0SAAAAAG9kx-VF6rPb_Be-gHO21[[DnlH2jN]]' &lt;br /&gt;
** ENV['RECAPTCHA_PRIVATE_KEY'] = '6Ld9UM0SAAAAADgdc3sw8O_-hEQa-Vab-I9cDov4' &lt;br /&gt;
* Restart the services with &amp;quot;sudo ncborestart&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
=== Other Updates  ===&lt;br /&gt;
&lt;br /&gt;
* All updates in this section are relative to .../&amp;lt;nowiki&amp;gt;BioPortal&amp;lt;/nowiki&amp;gt;/current &lt;br /&gt;
* app/views/home/all_resources.html.erb Change &amp;quot;Search biomedical resources&amp;quot; to &amp;quot;Search resources&amp;quot; &lt;br /&gt;
* app/views/home/help.html.erb Change &amp;quot;How to Cite &amp;lt;&amp;lt;nowiki&amp;gt;BioPortal&amp;lt;/nowiki&amp;gt;&amp;quot; to &amp;quot;How to Cite OOR&amp;quot;, and then change the citation just below this. &lt;br /&gt;
* app/views/home/index.rhtml This is the home page, so make changes as needed. One such change is mentioned [[OOR_SandBox_Customization|above]]. &lt;br /&gt;
&lt;br /&gt;
[[Category:WorkSpace]]    [[Category:OOR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;KennethBaclawski</name></author>
	</entry>
</feed>