From OntologPSMW

Jump to: navigation, search
[ ]

This page describes installation and customization details to the NCBO Virtual Appliance to create an OOR instance.     (1)


Download     (2)

Download the OVF image for the NCBO Virtual Appliance. The URL is not public.     (2A)

The current version (used in examples below) is ncbo-appliance-0.3.ova.     (2B)

VM Conversion     (3)

The OVF image needs to be converted for the desired VM environment.     (3A)

VMware     (3B)

The image requires a 64-bit host with enabled support for Intel Virtualization Technology (VT).     (3B1)

To convert the OVF image for execution under VMware:     (3B2)

  1. Run ovftool ncbo-appliance-0.3.ova .     (3B4)
  2. 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.     (3B5)
  3. Click through the initial Linux text screen setup questions.     (3B6)

  • at CIM3 we use para-virtualized guests (and therefore, would prefer vm images for that over fully-virtualized guests.) --ShinyaYamada/2011.10.31     (3C1)

To convert the OVF image for execution under Xen:     (3C2)

  1. Run XenConvert under Windows. This requires access to a running XenServer.     (3C4)

This hasn't yet been successfully accomplished.     (3C5)

... (coming!)     (3D1)

Basic Customization: from BioPortal (ncbo-appliance) to an OOR instance     (4)

Banner, Logo, etc.     (4A)

  1. Login to the running image.     (4A1)
  2. Edit /var/rails/BioPortal/current/config/bioportal_config.rb, changing at least     (4A2)
  1. Replace the BioPortal logo with the OOR logo.     (4A4)
    • public/maintenance/nav_logo.jpg (126x43) Medium logo using the color gradient     (4A5A)
    • public/maintenance/logo_background.jpg (1x43) The color gradient     (4A5B)
    • public/images/ncbo_logo_portal.gif (463x157) Large logo     (4A5C)
    • public/images/logo.png (463x157) Large logo copy     (4A5D)
    • public/images/layout/logo_mini.png (85x20) Small logo using the color gradient     (4A5E)
    • public/images/layout/nav_logo.png (126x43) Medium logo copy     (4A5F)
  1. Replace the BioPortal IPR policy with the OOR or instance policy.     (4A6)
  1. "Send Feedback" form should be mailed to <support [at]>     (4A8)
  1. Run ncborestart.     (4A10)

Enable Google Analytics     (4B)

Ontology Categories     (4C)

    1. You may need to download the [[MySQL]] JDBC driver and copy it to the Protege directory as driver.jar per     (4C1A)
    2. Use jdbc:mysql://localhost/bioportal_protege and run, e.g., ssh -L 3306:localhost:3306     (4C1B)
  1. Run ncborestart.     (4C2)
  2. Verify the updated categories by opening the Browse panel and clicking the Filter by Category menu     (4C3)
    1. Upper Ontologies     (4C5A)
    2. Standards (for example, W3C, ISO, OMG, Measurement)     (4C5B)
    3. Science (for example, Biomedical)     (4C5C)
    4. Financial     (4C5D)
    5. Government     (4C5E)
    6. Cultural     (4C5F)
    7. Social Networking (for example, People, Organizations)     (4C5G)
    8. Geospatial     (4C5H)
    9. Commercial     (4C5I)
    10. Literature     (4C5J)
    11. Technology     (4C5K)
    12. Provenance     (4C5L)
    13. Metadata (for example, OMV, Dublin Core)     (4C5N)
    14. Process (for example, PSL)     (4C5O)

Support / Syndication / Social Network     (4D)

  • The twitter and facebook buttons can easily be removed by commenting out the div element with id "social_networking" in .../BioPortal/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.     (4D1)
  • As mentioned in above: feedback and support goes to <support [at]>     (4D2)
  • The RSS feed citation can be removed from .../BioPortal/current/config/locales/en.rb     (4D3)

Home Page Statistics     (4E)

  1. Edit /srv/ncbo/rails/BioPortal/current/config/locales/en.rb to set :stats => .     (4E1)
  2. Manually edit :most_viewed in the same file, if desired for Most Viewed Ontologies.     (4E2)

reCaptcha     (4F)

Other Updates     (4G)

  • All updates in this section are relative to .../BioPortal/current     (4G1)
  • app/views/home/all_resources.html.erb Change "Search biomedical resources" to "Search resources"     (4G2)
  • app/views/home/help.html.erb Change "How to Cite <BioPortal" to "How to Cite OOR", and then change the citation just below this.     (4G3)
  • app/views/home/index.rhtml This is the home page, so make changes as needed. One such change is mentioned above.     (4G4)

This page has been migrated from the OntologWiki - Click here for original page     (4G5)