Linux Additional Notes: Difference between revisions

From National Gallery Research Wiki
Jump to navigation Jump to search
(Created page with " Additional notes related to the Linux Setup preocess. ==Gnome over remote SSH== It seems that the "owner" of the ".dbus" folder in a users home area can be set to "root...")
 
No edit summary
 
Line 22: Line 22:
  sudo ln -s /lib/modules/YourInstalledKernel/build/include/generated/autoconf.h  
  sudo ln -s /lib/modules/YourInstalledKernel/build/include/generated/autoconf.h  
   /lib/modules/YourInstalledKernel/build/include/linux/autoconf.h
   /lib/modules/YourInstalledKernel/build/include/linux/autoconf.h
==D2R==
* Not been checked for 12.04
* The D2R-Server binaries can be downloaded directly from their [http://www4.wiwiss.fu-berlin.de/bizer/d2r-server/ website].  I downloaded the newest binary, which at the time of writing was http://downloads.sourceforge.net/project/d2rq-map/D2R%20Server/v0.7%20%28alpha%29/d2r-server-0.7.tar.gz?use_mirror=kent d2r-server-0.7.tar.gz].
* Unpack the software directory from the downloaded file and move it to a good location, such as '''/usr/local/'''. I also set up a version free symbolic link to the downloaded folder, though I am not sure it will be needed.
tar xzvf d2r-server-0.7.tar.gz
sudo mv d2r-server-0.7 /usr/local/.
ln -s /usr/local/d2r-server-0.7 /usr/local/d2r-server
* A quick setup guide can be found [http://www4.wiwiss.fu-berlin.de/bizer/d2r-server/#quickstart here].
* Details about setting up the D2R-Server under Tomcat can be found [http://www4.wiwiss.fu-berlin.de/bizer/d2r-server/#container here]. You will need to install '''ant''' for this.
sudo apt-get install ant
* Further details, links and documentation can be generally found through the [http://www4.wiwiss.fu-berlin.de/bizer/d2r-server/ D2R-server website].
==Sesame==
* The Sesame binaries can be downloaded directly from the [http://www.openrdf.org/index.jsp openrdf website].  I downloaded the newest sdk binary, which at the time of writing was [http://sourceforge.net/project/downloading.php?group_id=46509&filename=openrdf-sesame-2.2.4-sdk.tar.gz&a=99822489 openrdf-sesame-2.2.4-sdk.tar].
* Unpack the software directory from the downloaded file and move it to a good location, such as '''/usr/local/'''. I also set up a version free symbolic link to the downloaded folder, though I am not sure it will be needed.
tar xzvf openrdf-sesame-2.2.4-sdk.tar
sudo mv openrdf-sesame-2.2.4 /usr/local/.
ln -s /usr/local/openrdf-sesame-2.2.4 /usr/local/openrdf-sesame
* Copy the '''openrdf-sesame.war''' and '''openrdf-workbench.war''' files into the Tomcat webapps directory and restart Tomcat.
sudo cp /usr/local/openrdf-sesame/war/openrdf-sesame.war /usr/local/apache-tomcat/webapps/.
sudo cp /usr/local/openrdf-sesame/war/openrdf-workbench.war /usr/local/apache-tomcat/webapps/.
/usr/bin/local/apache-tomcat/bin/shutdown.sh
/usr/bin/local/apache-tomcat/bin/startup.sh
* If everything installed correctly opening your browser to [http://localhost:8080/openrdf-workbench http://localhost:8080/openrdf-workbench]  should present you with a "List of Repositories".
* Further information can be found at the [http://www.openrdf.org/index.jsp openrdf website].
==4store (RDF Triple Database system):==
* '''sudo apt-get install build-essential libpcre3-dev libglib2.0-dev ncurses-dev libreadline-dev libavahi-common-dev libavahi-client-dev libavahi-glib-dev'''
raptor and rasqal in stadard repository are probably ok, but description on the 4store website recommends the specific build instructions listed below.
--[[User:Jpadfield|Jpadfield]] 10:28, 10 November 2009 (UTC)
Then need to download and build from source the following packages; (or the newest stable versions)
#[http://download.librdf.org/source/raptor2-2.0.2.tar.gz raptor2-2.0.2.tar.gz]
#[http://download.librdf.org/source/rasqal-0.9.25.tar.gz rasqal-0.9.25.tar.gz]
**Ideally Rasqal should be built with ./configure '--enable-query-languages=sparql rdql laqrs'
#[http://4store.org/download/4store-v1.1.2.tar.gz 4store-v1.1.2.tar.gz]

Latest revision as of 17:10, 14 May 2012

Additional notes related to the Linux Setup preocess.

Gnome over remote SSH

It seems that the "owner" of the ".dbus" folder in a users home area can be set to "root" during the update process. This will mean that you will get a lot of errors when trying to use any graphical programs remotely over ssh. This problem can be fixed by running the following command in your home area:

sudo chown -R UserName:UserName .dbus/

Flash

The required flash plugin can be installed through firefox. When the user goes to a site that requires a flash plugin an install option is offered.

Adobe Flash Plugin: has been tried and seemed to work well.

Vmware Tools

If you have installed Ubuntu within a vmware virtual machine you will also need to run the following two lines to get the vmware tools to build properly.

sudo ln -s /lib/modules/YourInstalledKernel/build/include/generated/utsrelease.h
  /lib/modules/YourInstalledKernel/build/include/linux/utsrelease.h
sudo ln -s /lib/modules/YourInstalledKernel/build/include/generated/autoconf.h 
  /lib/modules/YourInstalledKernel/build/include/linux/autoconf.h

D2R

tar xzvf d2r-server-0.7.tar.gz
sudo mv d2r-server-0.7 /usr/local/. 
ln -s /usr/local/d2r-server-0.7 /usr/local/d2r-server
  • A quick setup guide can be found here.
  • Details about setting up the D2R-Server under Tomcat can be found here. You will need to install ant for this.
sudo apt-get install ant
  • Further details, links and documentation can be generally found through the D2R-server website.

Sesame

  • The Sesame binaries can be downloaded directly from the openrdf website. I downloaded the newest sdk binary, which at the time of writing was openrdf-sesame-2.2.4-sdk.tar.
  • Unpack the software directory from the downloaded file and move it to a good location, such as /usr/local/. I also set up a version free symbolic link to the downloaded folder, though I am not sure it will be needed.
tar xzvf openrdf-sesame-2.2.4-sdk.tar
sudo mv openrdf-sesame-2.2.4 /usr/local/. 
ln -s /usr/local/openrdf-sesame-2.2.4 /usr/local/openrdf-sesame
  • Copy the openrdf-sesame.war and openrdf-workbench.war files into the Tomcat webapps directory and restart Tomcat.
sudo cp /usr/local/openrdf-sesame/war/openrdf-sesame.war /usr/local/apache-tomcat/webapps/.
sudo cp /usr/local/openrdf-sesame/war/openrdf-workbench.war /usr/local/apache-tomcat/webapps/.
/usr/bin/local/apache-tomcat/bin/shutdown.sh
/usr/bin/local/apache-tomcat/bin/startup.sh

4store (RDF Triple Database system):

  • sudo apt-get install build-essential libpcre3-dev libglib2.0-dev ncurses-dev libreadline-dev libavahi-common-dev libavahi-client-dev libavahi-glib-dev

raptor and rasqal in stadard repository are probably ok, but description on the 4store website recommends the specific build instructions listed below. --Jpadfield 10:28, 10 November 2009 (UTC)

Then need to download and build from source the following packages; (or the newest stable versions)

  1. raptor2-2.0.2.tar.gz
  2. rasqal-0.9.25.tar.gz
    • Ideally Rasqal should be built with ./configure '--enable-query-languages=sparql rdql laqrs'
  1. 4store-v1.1.2.tar.gz