In general, deploying the Linked Data software stack or parts of it is very easy and comfortable based on the Debian package management system. This repository is organised in a phased setup: in the nightly distribution component owners contribute their packages, in testing the packages are public available for anyone to test, while in stable the components are available which have passed all integrity tests.

All distributions can be browsed from this url http://stack.linkeddata.org/download/.

Minimal requirements.

The Linked Data Stack consists of a large number of components each of them require for their well-functioning sufficient memory and disk space. The stack has been successfully installed on a machine with 2 GB of memory. However for a smooth response 4 GB is recommended.

The stack supports the Ubuntu 14.04, 64bit LTS operating system.

Getting the software

There are only two steps to be executed in order to install Linked Data Stack software:

  1. Add the stack package repository to the systems repository list and update the repository index.
  2. Install wanted software packages by using a graphical or text-based package management application.

The next guidelines describe the installation using command-line tools. The procedure uses apt-get, the most basic package management tool and the preferred command line front-end for non-interactive package management. Graphical frontends like Synaptic can be used too. For the usage of these, we refer to their manuals.

The first step is the installation of the Linked Data repository package. In the next example we have chosen the stable release.

[code language=”bash”]
# download the repository package
wget http://stack.linkeddata.org/ldstable-repository.deb
# install the repository package
sudo dpkg -i ldstable-repository.deb
# update the repository database
sudo apt-get update
# install lod2-virtuoso-opensource
sudo apt-get install lod2-virtuoso-opensource
[/code]

Notice can also choose for the ldstable-repository.deb with the testing: ldtesting-repository.deb for getting the testing stage, or nigthly: ldnightly-repository.deb , which contain the most recent versions of the same components. The steps are similar as above and shown below:

In principle one can now install the many of the components of the Linked Data stack with a single command. However as we experience ordering problems due to the parallel execution of the installation of components the next steps are advised.

TODO: update the installation ordering recommended.
[code language=”bash”]
sudo apt-get install ontowiki-virtuoso
sudo apt-get install spatial-semantic-browser
sudo apt-get install dbpedia-spotlight-ui
sudo apt-get install lod2demo
# to ensure that all configuration changes are applied
sudo service tomcat6 restart
[/code]

Using Virtuoso 6 Instead of Virtuoso 7

Maybe you want to use the older but maybe more familiar virtuoso 6 package instead of the new virtuoso 7 package. The stack will still work if you choose this option, but the installation gets a little bit more complicated. You install the stack using:

[code language=”bash”]
# download the repository package
wget http://stack.linkeddata.org/ldstable-repository.deb
# install the repository package
sudo dpkg -i ldstable-repository.deb
# update the repository database
sudo apt-get update
# install a virtuoso6 required library
sudo apt-get install libvirtodbc0=6.1.6+dfsg1-0ubuntu1
# download right version of virtuoso-opensource and install manually
sudo apt-get download virtuoso-opensource=6.1.6+dfsg1-0ubuntu1
sudo dpkg -i virtuoso-opensource_6.1.6+dfsg1-0ubuntu1_all.deb
# make sure that the virtuoso-opensource package does not get upgraded to virtuoso 7 automatically
sudo apt-mark hold virtuoso-opensource
# install rest of the stack
sudo apt-get install ontowiki-virtuoso
sudo apt-get install spatial-semantic-browser
sudo apt-get install dbpedia-spotlight-ui
sudo apt-get install lod2demo
# to ensure that all configuration changes are applied
sudo service tomcat6 restart
[/code]

Leave a Reply

You must be logged in to post a comment.