<docbook><section><title>VirtEC2AMINeuroCommonsInstall</title><title> Prepopulated Virtuoso hosting of NeuroCommons on EC2 AMI</title> Prepopulated Virtuoso hosting of <ulink url="NeuroCommons">NeuroCommons</ulink> on EC2 AMI
<bridgehead class="http://www.w3.org/1999/xhtml:h2">What is NeuroCommons Project?</bridgehead>
 As articulated in the <ulink url="http://sciencecommons.org/about/science-commons-dylan-video/">Science Commons mission statement video</ulink>, <ulink url="http://www.neurocommons.org/">NeuroCommons</ulink> project within <ulink url="http://sciencecommons.org/about/">Science Commons</ulink> aimed at creating openly accessible neuroscience and computational biology knowledgebases on the Web.<bridgehead class="http://www.w3.org/1999/xhtml:h2">NeuroCommons Installation on Virtuoso EC2 AMI instance</bridgehead>
<para><ulink url="OpenLink">OpenLink</ulink> Software provides a backup up of the current NeuroCommons Database as hosted on the live service at http://sparql.neurocommons.org/, that users can restore into a Virtuoso EC2 AMI instance in the cloud, providing them with an instance of NeuroCommons for their own use.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Installation</bridgehead>
<orderedlist spacing="compact"><listitem>Start a <ulink url="VirtInstallationEC2">Virtuoso EC2 AMI instance</ulink>.
 Note a Virtuoso Release 5 AMI instance ( ami-ids ami-59628630 or ami-c46084ad ) <emphasis>must</emphasis> be used with this backup.
 We recommended a 64-bit large image AMI instance with 8GB of memory be used, which is a m1.large EC2 instance type.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_AWS_Console_M1Large_Instance.png" /></figure> </listitem>
<listitem>Note for best performance particularly under extensive usage it is recommended the 16GB m1.xlarge EC2 instance type be used.
</listitem>
<listitem>Load the Virtuoso Conductor Administration interface of the running EC2 AMI instance with a URL of the form http://your-ec2-instance-cname/conductor.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_Conductor.png" /></figure> </listitem>
<listitem>From the Virtuoso Conductor, navigate to the &quot;System Admin&quot; -&gt; &quot;Packages&quot; tab to obtain a list of available Virtuoso packages (VADs) to install.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_VADPackages.png" /></figure> </listitem>
<listitem>Click the &quot;Install&quot; button to initiate installation of the &quot;EC2 Extensions&quot; VAD package for use in performing backup and restore tasks.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_VADEc2Exts.png" /></figure> </listitem>
<listitem>Click the &quot;Proceed&quot; button to install the &quot;EC2 Extensions&quot; VAD package.
</listitem>
<listitem>Go to the URL http://your-ec2-instance-cname/ec2exts to load the Virtuoso Extensions for Amazon EC2 Images login page and log in as the &quot;dba&quot; user.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_ExtLogin.png" /></figure> </listitem>
<listitem>From the Virtuoso Extensions for Amazon EC2 Images main page, click the &quot;Restore a Remote Backup&quot; link.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_MainPage.png" /></figure> </listitem>
<listitem>On the &quot;Restore a Remote Backup&quot; page, set the follow options.
<programlisting>Protocol: WebDAV/HTTP
Host: s3.amazonaws.com
Path or Bucket: neurocommons-virtuoso-bundle
Backup File Prefix: neurocommons-bundle
</programlisting><figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_RestoreNeurocommons.png" /></figure> </listitem>
<listitem>Click the &quot;Restore&quot; button to begin the restoration of the NeuroCommons database from backup.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_RestoreNeurocommonsProgress.png" /></figure> .
 .
 .
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_RestoreNeurocommonsProgressDone.png" /></figure> </listitem>
<listitem>Click on the &quot;Continue&quot; button to begin the re-assembly of the database from the restored backup files.
 Output similar to the following will be displayed when the re-assembly of the database is complete.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_ReassembleNeurocommons.png" /></figure></listitem>
</orderedlist><para>Once complete the server will have been restarted automatically with the restored NeuroCommons database ready for use.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Usage Examples</bridgehead>
 You can then access pages such as these on your NeuroCommons server:<itemizedlist mark="bullet" spacing="compact"><listitem>NeuroCommons SPARQL endpoint — http://your-ec2-instance-cname/nsparql.html <figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_NeurocommonsSPARQL.png" /></figure></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>NeuroCommons XHTML Description page — http://your-ec2-instance-cname/commons/record/pmid/12477932 <figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_NeurocommonsXHTML.png" /></figure></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3"> NeuroCommons VAD Application Package</bridgehead>
<para>For those running a NeuroCommons Virtuoso EC2 AMI instance created before December 8, 2008, you will need to update your NeuroCommons VAD Application package to obtain the latest enhancements, by taking the following steps</para>
<orderedlist spacing="compact"><listitem>Download the <ulink url="VirtEC2AMINeuroCommonsInstall/neurocommons_dav.vad">NeuroCommons VAD Application</ulink> (<ulink url="VirtEC2AMINeuroCommonsInstall/neurocommons_dav.vad">neurocommons_dav.vad</ulink>) package.
</listitem>
<listitem>Navigate to the &quot;System Admin&quot; -&gt; &quot;Packages&quot; tab of the Virtuoso Conductor.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_VADInstall.png" /></figure> </listitem>
<listitem>Scroll down to the &quot;Install Package&quot; section of the tab, use the &quot;Upload Package&quot; option  &quot;browse&quot; button.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_VADUploadFileN.png" /></figure> </listitem>
<listitem>Navigate to the location of the downloaded neurocommons_dav.vad file and click the &quot;open&quot; button to select it.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_VADNeuro.png" /></figure> </listitem>
<listitem>Click the &quot;Proceed&quot; button to begin the installation process.
<figure><graphic fileref="VirtEC2AMINeuroCommonsInstall/EC2_VADNeuroInstall.png" /></figure></listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3"> Results</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem>The NeuroCommons SPARQL endpoint can be accessed on http://your-ec2-instance-cname/sparql </listitem>
<listitem>The <ulink url="OpenLink">OpenLink</ulink> <ulink url="http://wikis.openlinksw.com/dataspace/owiki/wiki/OATWikiWeb/InteractiveSparqlQueryBuilder">Interactive SPARQL Query Builder</ulink> can be accessed on http://your-ec2-instance-cname/isparql, enabling the visual construction of queries (Graph Patterns).</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">Related</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="VirtSPARQLEndpointProtection">Safeguarding your Virtuoso-hosted SPARQL Endpoint</ulink> </listitem>
<listitem><ulink url="VirtEBSBackedBYOLAMI">EBS-backed BYOL (&quot;Bring Your Own License&quot;) Virtuoso EC2 AMI</ulink> </listitem>
<listitem><ulink url="VirtTipsAndTricksGuideSPARQLEndpointProtection">SPARQL Endpoint Protection Methods Collection</ulink> </listitem>
<listitem><ulink url="http://docs.openlinksw.com/virtuoso/">Virtuoso documentation</ulink> <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsupportedprotocolendpoint">SPARQL Service Endpoint</ulink> </listitem>
<listitem><ulink url="http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsupportedprotocolendpointuri">Service Endpoint Security</ulink> </listitem>
<listitem><ulink url="http://docs.openlinksw.com/virtuoso/rdfsparql.html#sparqwebservicetbl">Managing a SPARQL Web Service Endpoint</ulink> </listitem>
<listitem><ulink url="http://docs.openlinksw.com/virtuoso/rdfsparql.html">SPARQL</ulink> </listitem>
</itemizedlist></listitem>
<listitem><ulink url="VirtTipsAndTricksGuide">Virtuoso Tips and Tricks Collection</ulink> <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="VirtSPARQLDET">SPARQL Endpoint DET Configuration Guide</ulink> </listitem>
<listitem><ulink url="VirtSPARQLSecurityWebID">WebID Protocol &amp; SPARQL Endpoint ACLs Tutorial</ulink> </listitem>
<listitem><ulink url="VirtOAuthSPARQL">SPARQL OAuth Tutorial</ulink> </listitem>
<listitem><ulink url="VirtTipsAndTricksGuideSPARQLEndpoints">Securing SPARQL endpoints</ulink> </listitem>
</itemizedlist></listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/OdsSPARQLAuth">SPARUL over SPARQL using the http://cname:port/sparql-auth endpoint</ulink> </listitem>
<listitem><ulink url="VirtAuthServerUI">Virtuoso Authentication Server UI</ulink> </listitem>
<listitem><ulink url="VirtSPARQLSSL">Manage a SPARQL-WebID based Endpoint</ulink> </listitem>
<listitem><ulink url="VirtSetupSSL">Configure Virtuoso instance as an X.509 Certificate Authority and HTTPS listener</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSSetupSSL">Configure Virtuoso+ODS instance as an X.509 Certificate Authority and HTTPS listener</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/VirtODSSecurityWebID">WebID Protocol Support in OpenLink Data Spaces</ulink>.
</listitem>
<listitem>Manage ODS Datadspaces Objects <ulink url="WebID">WebID</ulink> Access Control Lists (ACLs): <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebID">ODS Briefcase WebID based ACL Guide</ulink> <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDPerson">Person Entity WebID based ACL Guide</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDGroup">Group Entity WebID based ACL Guide</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDPublic">Public WebID based ACL Guide</ulink> </listitem>
</itemizedlist></listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACL">ODS Feed Manager WebID based ACL Guide</ulink> <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACLPerson">Person Entity Specific ACL</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACLGroup">Group Entity Specific ACL</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACLPublic">Public Specific ACL for anyone with a WebID</ulink> </listitem>
</itemizedlist></listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACL">ODS Calendar WebID based ACL Guide</ulink> <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACLPerson">Person Entity Specific ACL</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACLGroup">Group Entity Specific ACL</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACLPublic">Public Specific ACL for anyone with a WebID</ulink> </listitem>
</itemizedlist></listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACL">ODS Bookmark Manager WebID based ACL Guide</ulink> <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACLPerson">Person Entity Specific ACL</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACLGroup">Group Entity Specific ACL</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACLPublic">Public Specific ACL for anyone with a WebID</ulink> </listitem>
</itemizedlist></listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACL">ODS Addressbook  WebID based ACL Guide</ulink> <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACLPerson">Person Entity Specific ACL</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACLGroup">Group Entity Specific ACL</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACLPublic">Public Specific ACL for anyone with a WebID</ulink> </listitem>
</itemizedlist></listitem>
</itemizedlist></listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSPkiSetup">Guide for Set up a X.509 certificate issuer and HTTPS listener and generate ODS user certificates.</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/VirtODSPubSubHub">Setting up PubSubHub in ODS</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/VirtPubSubHub">PubSubHubBub Demo Client Example</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/VirtFeedPubSubHub">Feed subscription via PubSubHub protocol Example</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/VirtPubSubHubACL">Setting Up PubSubHub to use WebID Protocol or IP based control lists</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/OdsKeyImport">CA Keys Import using Conductor</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSGenerateX509Certificate">Generate an X.509 Certificate hosted WebID Guide</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSGenerateWebIDX509CertOSKeystore">Generate an X.509 Certificate (with a WebID watermark) to be managed by host operating system keystore</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSGenerateWebIDX509CertBrsKeystore">Generate an X.509 Certificate (with a WebID watermark) to be managed by a browser-based keystore</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSWebIDIdP">Using Virtuoso&#39;s WebID Verification Proxy Service with a WebID-bearing X.509 certificate</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSWebIDIdpProxy">Using Virtuoso&#39;s WebID Identity Provider (IdP) Proxy Service with an X.509 certificate</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDShareFile">ODS Briefcase WebID Protocol Share File Guide</ulink> </listitem>
<listitem><ulink url="http://esw.w3.org/topic/foaf+ssl">WebID Protocol Specification</ulink> </listitem>
<listitem><ulink url="https://foaf.me/simpleLogin.php">Test WebID Protocol Certificate page</ulink> </listitem>
<listitem><ulink url="http://test.foafssl.org/cert/">WebID Protocol Certificate Generation page</ulink> </listitem>
</itemizedlist></section></docbook>