Installing GeoTriples and Strabon via the Debian Repository of LEO
Installation and Execution (Quick Guide)
Here we provide guidelines for installing Strabon quickly via debian repository.
Prerequisites
- Install java 6 or 7. More information can be found at: http://www.oracle.com/technetwork/java/javase/downloads/index.html
$> sudo apt-get install openjdk-6-jdk openjdk-6-jre
- Install PostgreSQL 9.0 or higher. More information can be found here: http://www.postgresql.org/download/.
$> sudo apt-get install postgresql-9.1
- Install PostGIS 1.5 or higher. More information can be found at http://postgis.refractions.net/download/. PostGIS can also be compiled from sources.
$> sudo apt-get install postgresql-9.1-postgis
- Download and register the repository public key
$> wget -O - -q http://debian.linkedeodata.eu/leo-repo.key | sudo apt-key add -
- Add the repository to the apt-get sources and update the repository (deb http://debian.linkedeodata.eu/debian testing main).
$> sudo pico /etc/apt/sources.list
$> sudo apt-get update
Installing GeoTriples
- Install the Strabon endpoint
$> sudo apt-get install strabon-endpoint
- Provide a password for default user (postgres), create a DB that will be used as template and create an instance database called "endpoint".
$> strabon-init
- Initialize a Strabon endpoint supported by database "endpoint". It is accessible from http://localhost:8080.
$> strabon-endpoint
Installing Strabon Endpoint
- Install the Strabon endpoint
$> sudo apt-get install strabon-endpoint
- Provide a password for default user (postgres), create a DB that will be used as template and create an instance database called "endpoint".
$> strabon-init
- Initialize a Strabon endpoint supported by database "endpoint". It is accessible from http://localhost:8080.
$> strabon-endpoint
Managing a Strabon database via command line
- Download and install the command line utility (assuming that you already registered the repository public key - if not, see previous steps)
$> sudo apt-get install strabon-cmd
- Check available operations and parameters
$> strabon-cmd -h