content
| - %META:TOPICPARENT{name="VirtAWSPublicDataSets"}%
---+ Getting Started with DBpedia via preloaded and preconfigured Amazon EC2 AMIs for Virtuoso Cluster Edition
1 If not already running, instantiate a [[VirtInstallationEC2][Virtuoso EC2 AMI instance]]. Note that we recommend a minimum 64-bit extra large image Virtuoso Release 6 AMI instance (ami-23d0334a) with 15GB of memory be used, which is an "Extra Large (m1.xlarge, 15GB)" AMI instance type.
1 You can obtain a list of available Virtuoso public snapshots from the [[https://console.aws.amazon.com/ec2/home][AWS Management Console]] by clicking the "Snapshot" link, selecting "Public Snapshots" from the viewing drop-down list, and searching for Virtuoso. An EBS volume can be created for any of these snapshots and attached to a Virtuoso EC2 AMI instance.
%BR%%BR%%BR%%BR%%BR%
|Description| DBpedia 3.7 - Virtuoso 6.3 Cluster Edition |
|Virtuoso Server Type | Cluster Edition |
|Snapshot ID (Linux/Unix) | snap-a35e1cc1 |
|Size | 75 GB |
|Creation Date | 2011-09-12 |
|Last Updated | 2011-11-16 |
|License | Creative Commons: Attribution Share Alike |
|Submitted By | OpenLink Software |
|Source | http://www.openlinksw.com |
%BR%%BR%
1 Select the "Volumes" link under the "Elastic Block Storage" section
%BR%%BR%%BR%%BR%
1 Click on the "Create Volume" button and set "Size" to 75GB, "Availability Zone" to match the zone of your running Virtuoso EC2 AMI instance and "Snaphot" to the required DBpedia3.7 or DBpedia 3.6 or 3.5.1 AWS snapshot.
%BR%%BR%%BR%%BR%
1 Select the newly created volume and click on the "Attach Volume" button to attach the volume to the required Virtuoso EC2 AMI instance
%BR%%BR%%BR%%BR%
1 Select the "Instance" and "Device" to which the volume should be attached, and click "Attach"
%BR%%BR%%BR%%BR%
1 The volume will now be listed as "attached" to the specified Virtuoso EC2 AMI instance id.
%BR%%BR%%BR%%BR%
1
ssh into the Virtuoso EC2 AMI instance
$ ssh -i MyKeyPair.pem root@
[root@ip-10-218-91-224 ~]# cd /opt/virtuoso
[root@ip-10-218-91-224 virtuoso]# ls
bin hosting lib virtuoso-environment.csh vsp
database install vad virtuoso-environment.sh
[root@ip-10-218-91-224 virtuoso]# mkdir dbpedia
[root@ip-10-218-91-224 virtuoso]# mount /dev/sdf /opt/virtuoso/dbpedia
[root@ip-10-218-91-224 virtuoso]# ls -l /opt/virtuoso/dbpedia/
total 40
lrwxrwxrwx 1 root root 17 May 5 16:56 bin -> /opt/virtuoso/bin
-rwxr-xr-x 1 root root 293 May 6 08:04 crestore.sh
-rwxr-xr-x 1 root root 97 May 6 08:23 cstart.sh
lrwxrwxrwx 1 root root 21 May 5 13:29 install -> /opt/virtuoso/install
drwx------ 2 500 500 16384 Apr 8 2009 lost+found
drwxr-xr-x 3 root root 4096 May 6 17:11 s01
drwxr-xr-x 3 root root 4096 May 6 16:40 s02
drwxr-xr-x 3 root root 4096 May 6 16:40 s03
drwxr-xr-x 3 root root 4096 May 6 16:41 s04
[root@ip-10-218-91-224 virtuoso]
1 To run the newly attached data set, first set up your Virtuoso environment, and ensure the default database instance has been stopped.
[root@ip-10-218-91-224 ~]# cd /opt/virtuoso
[root@ip-10-218-91-224 virtuoso]# . ./virtuoso-environment.sh
[root@ip-10-218-91-224 virtuoso]# virtuoso-stop.sh
1 Navigate to the mounted data set, and set the VIRTUOSO_HOME environment variable to this location.
[root@ip-10-218-91-224 virtuoso]# cd /opt/virtuoso/dbpedia
[root@ip-10-218-91-224 dbpedia# export VIRTUOSO_HOME=`pwd`
1 Note that as stated in step 1, it is recommended these DBpedia snaphots be used with a minimum 64-bit extra large image Virtuoso Release 6 AMI instance (ami-23d0334a) with 15GB of memory. Should you choose to use the "large image" with only 7.5GB memory then the Virtuoso configuration file (virtuoso.ini) must be edited, and the "NumberOfBuffers " parameter therein reduced from 1000000 to 500000 before attempting to start the Virtuoso server instance; otherwise, it will fail to start due to lack of memory. For more details please refer to the [[http://docs.openlinksw.com/virtuoso/rdfperformancetuning.html][Virtuoso RDF Performance Tuning Guide]] in the online documentation.
1 Run the virtuoso-start.sh script to start the Virtuoso server containing the attached data set.
[root@ip-10-218-91-224 dbpedia]# virtuoso-start.sh
Starting Virtuoso instance in [cluster_01]
Starting Virtuoso instance in [cluster_02]
Starting Virtuoso instance in [cluster_03]
Starting Virtuoso instance in [cluster_04]
[root@ip-10-218-91-224 dbpedia]#
1 Note the preconfigured Virtuoso Server "dba" user's password is set to the default of "dba". It is strongly recommended that this be changed to a suitably secure password using the *System Admin* -> *User Accounts* tab in the Virtuoso Conductor (http://ec2-ami-public-dns-cname/conductor/ ).
%BR%%BR%
1 The Virtuoso hosted data set can now be explored using an HTML browser, or queried from the SPARQL or Faceted Browser web service endpoints. For example, in the DBpedia datasets --
* A description of the resource Bob Marley can be viewed as: http://ec2-ami-public-dns-cname/resource/Bob_Marley
%BR%%BR%%BR%%BR%
* A Faceted Search can be performed on a resource at http://ec2-ami-public-dns-cname/fct
%BR%%BR%%BR%
%BR%%BR%%BR%
%BR%%BR%%BR%
* A SPARQL query can be run to obtain information on a resource at http://ec2-ami-public-dns-cname/sparql
%BR%%BR%%BR%
---++ Related Items
* [[VirtInstallationEC2][Virtuoso EC2 AMI instance]]
* [[VirtAWSPublicDataSets][Pre-configured & Pre-loaded Virtuoso instances (DBpedia, BBC Music & Programmes etc.)]]
* [[VirtEC2AMIDBpediaInstall][Creating Your Own DBpedia 3.2 Instance]]
* [[VirtEC2AMINeuroCommonsInstall][Creating Your Own Neurocommons Instance]]
* [[VirtEC2AMIBio2rdfInstall][Creating Your Own Bio2RDF Instance]]
* [[VirtEC2AMIMusicBrainzInstall][Creating Your Own MusicBrainz Instance]]
* [[VirtSPARQLEndpointProtection][Safeguarding your Virtuoso-hosted SPARQL Endpoint]]
* [[VirtTipsAndTricksGuideSPARQLEndpointProtection][SPARQL Endpoint Protection Methods Collection]]
* [[http://docs.openlinksw.com/virtuoso/][Virtuoso documentation]]
* [[http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsupportedprotocolendpoint][SPARQL Service Endpoint]]
* [[http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsupportedprotocolendpointuri][Service Endpoint Security]]
* [[http://docs.openlinksw.com/virtuoso/rdfsparql.html#sparqwebservicetbl][Managing a SPARQL Web Service Endpoint]]
* [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][SPARQL]]
* [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]]
* [[VirtSPARQLDET][SPARQL Endpoint DET Configuration Guide]]
* [[VirtSPARQLSecurityWebID][WebID Protocol & SPARQL Endpoint ACLs Tutorial]]
* [[VirtOAuthSPARQL][SPARQL OAuth Tutorial]]
* [[VirtTipsAndTricksGuideSPARQLEndpoints][Securing SPARQL endpoints]]
* [[http://ods.openlinksw.com/wiki/ODS/OdsSPARQLAuth][SPARUL over SPARQL using the http://cname:port/sparql-auth endpoint]]
* [[VirtAuthServerUI][Virtuoso Authentication Server UI]]
* [[VirtSPARQLSSL][Manage a SPARQL-WebID based Endpoint]]
* [[VirtSetupSSL][Configure Virtuoso instance as an X.509 Certificate Authority and HTTPS listener]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSSetupSSL][Configure Virtuoso+ODS instance as an X.509 Certificate Authority and HTTPS listener]]
* [[http://ods.openlinksw.com/wiki/ODS/VirtODSSecurityWebID][WebID Protocol Support in OpenLink Data Spaces]].
* Manage ODS Datadspaces Objects WebID Access Control Lists (ACLs):
* [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebID][ODS Briefcase WebID based ACL Guide]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDPerson][Person Entity WebID based ACL Guide]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDGroup][Group Entity WebID based ACL Guide]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDPublic][Public WebID based ACL Guide]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACL][ODS Feed Manager WebID based ACL Guide]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACLPerson][Person Entity Specific ACL]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACLGroup][Group Entity Specific ACL]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACLPublic][Public Specific ACL for anyone with a WebID]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACL][ODS Calendar WebID based ACL Guide]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACLPerson][Person Entity Specific ACL]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACLGroup][Group Entity Specific ACL]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACLPublic][Public Specific ACL for anyone with a WebID]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACL][ODS Bookmark Manager WebID based ACL Guide]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACLPerson][Person Entity Specific ACL]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACLGroup][Group Entity Specific ACL]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACLPublic][Public Specific ACL for anyone with a WebID]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACL][ODS Addressbook WebID based ACL Guide]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACLPerson][Person Entity Specific ACL]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACLGroup][Group Entity Specific ACL]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACLPublic][Public Specific ACL for anyone with a WebID]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSPkiSetup][Guide for Set up a X.509 certificate issuer and HTTPS listener and generate ODS user certificates.]]
* [[http://ods.openlinksw.com/wiki/ODS/VirtODSPubSubHub][Setting up PubSubHub in ODS]]
* [[http://ods.openlinksw.com/wiki/ODS/VirtPubSubHub][PubSubHubBub Demo Client Example]]
* [[http://ods.openlinksw.com/wiki/ODS/VirtFeedPubSubHub][Feed subscription via PubSubHub protocol Example ]]
* [[http://ods.openlinksw.com/wiki/ODS/VirtPubSubHubACL][Setting Up PubSubHub to use WebID Protocol or IP based control lists]]
* [[http://ods.openlinksw.com/wiki/ODS/OdsKeyImport][CA Keys Import using Conductor]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSGenerateX509Certificate][Generate an X.509 Certificate hosted WebID Guide]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSGenerateWebIDX509CertOSKeystore][Generate an X.509 Certificate (with a WebID watermark) to be managed by host operating system keystore]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSGenerateWebIDX509CertBrsKeystore][Generate an X.509 Certificate (with a WebID watermark) to be managed by a browser-based keystore]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSWebIDIdP][Using Virtuoso's WebID Verification Proxy Service with a WebID-bearing X.509 certificate]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSWebIDIdpProxy][Using Virtuoso's WebID Identity Provider (IdP) Proxy Service with an X.509 certificate]]
* [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDShareFile][ODS Briefcase WebID Protocol Share File Guide]]
* [[http://esw.w3.org/topic/foaf+ssl][WebID Protocol Specification]]
* [[https://foaf.me/simpleLogin.php][Test WebID Protocol Certificate page]]
* [[http://test.foafssl.org/cert/][WebID Protocol Certificate Generation page]] |