Changes between Version 1 and Version 2 of InstallVsparql


Ignore:
Timestamp:
11/06/10 03:50:07 (7 years ago)
Author:
mar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallVsparql

    v1 v2  
    1  
    21== Installing vSPARQL on a Linux Machine == 
    32 
     
    54 
    65On this page, we describe how to get a vSPARQL installation up and running on a Linux machine. The steps include:  
    7 * 1) installing postgresql [http://www.postgresql.org/],  
    8 * 2) installing and patching SDB [http://openjena.org/SDB/] 
    9 * 3) creating and initializing an SDB store for a RDF data set 
    10 * 4) installing and patching ARQ [http://jena.sourceforge.net/ARQ/] 
    11 * 5) running an example vSPARQL query 
     61) installing postgresql [http://www.postgresql.org/],  
     72) installing and patching SDB [http://openjena.org/SDB/] 
     83) creating and initializing an SDB store for a RDF data set 
     94) installing and patching ARQ [http://jena.sourceforge.net/ARQ/] 
     105) running an example vSPARQL query 
    1211 
    1312Throughout this wiki page we refer to $VSPARQL_HOME. This is the directory in which all of the software is being installed. 
     
    3635}}} 
    3736 
    38 Create a database and start running the postgres server. Setting PGPORT=7777 indicates that incoming connections to the postgres server should be on port 7777. 
     37Create a database for the postgres server.  
    3938{{{ 
    4039% mkdir $VSPARQL_HOME/DBMS 
     
    4342% export PGPORT=7777 
    4443% initdb -D $VSPARQL_HOME/DBMS/pgsql-8.2.5/data 
     44}}} 
     45 
     46Start running the postgres server. Setting PGPORT=7777 indicates that incoming connections to the postgres server should be on port 7777. 
     47{{{ 
     48% export PGPORT=7777 
    4549% postgres -D $VSPARQL_HOME/DBMS/pgsql-8.2.5/data > logfile 2>&1 & 
    4650}}} 
     
    9296}}} 
    9397 
    94 In an editor of your choice, create a file named sdb-fma-3.0.ttl. This is the configuration file for SDB. In it, you describe the format of the SDB store, the name of the RDF data being stored, and the postgresql database that the data should be stored in. 
     98In an editor of your choice, create a file named sdb-fma-3.0.ttl. This is a configuration file for SDB. In an SDB configuration file, you describe the format of the SDB store, the name of the RDF data being stored, and the postgresql database that the data should be stored in. 
    9599 
    96100Copy the following text into your text editor.  
     
    171175}}} 
    172176 
    173 In a text editor, open a file called ds-config.ttl. (This needs to be stored in the same directory from which you invoke vSPARQL.) The ds-config.ttl file starts with the <ds:/root> triple; dsc:dataSource property is used to indicate the SDB configurations that should be accessible in vSPARQL. 
     177In a text editor, open a file called ds-config.ttl. (This needs to be stored in the same directory from which you invoke vSPARQL.) The ds-config.ttl file starts with the <ds:/root> triple; dsc:dataSource property is used to indicate the SDB configurations that should be accessible in vSPARQL. <dsc:assemblerModel> is the starting point for providing information for our SDB store (described in the SDB configuration file above). 
     178Modify the ds-config.ttl file below to contain information about your SDB store. 
    174179 
    175180{{{