Difference between revisions of "4store"
From Biowikifarm Metawiki
Line 30: | Line 30: | ||
'''Still needed''': ''how to create a database when not root'' ; ''creating a 4store.conf file''. | '''Still needed''': ''how to create a database when not root'' ; ''creating a 4store.conf file''. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Addition on 18.3.2013 creation of default metadata file: | ||
+ | sudo su root | ||
+ | chown -R fourstore: /var/lib/4store /var/log/4store | ||
+ | su - fourstore -s /bin/sh -c "4s-backend-setup default" |
Latest revision as of 14:42, 18 March 2013
This page documents the installation of 4Store on Debian 6.0.6 (Squeeze). It is based on:
- https://github.com/openplanets/scout/wiki/Install-and-use-4store
- http://4store.org/trac/wiki/Dependencies
- http://groups.google.com/group/4store-support/browse_thread/thread/cb950585a41ed7cc
Currently, 4Store is included in testing (Wheezy), but not stable (Squeeze). So the first step is to add testing to sources.list.
sudo vi /etc/apt/sources.list
add lines:
# Testing and unstable deb http://ftp.de.debian.org/debian testing main non-free contrib deb-src http://ftp.de.debian.org/debian testing main deb http://ftp.de.debian.org/debian unstable main non-free contrib deb-src http://ftp.de.debian.org/debian unstable main
Then, ensure that we always install from stable if possible by creating a file in /etc/apt/apt.conf.d/
sudo vi /etc/apt/apt.conf.d/30preferstable
and adding the line
APT::Default-Release "stable";
Then
sudo apt-get upgrade sudo apt-get install -t testing 4Store
(Without "-t testing", apt-get will want to install all dependencies from stable, but 4Store needs the newer versions of libpcre3 and librasqal3.)
To test the installation, follow the instructions at http://4store.org/trac/wiki/GettingStarted
Still needed: how to create a database when not root ; creating a 4store.conf file.
Addition on 18.3.2013 creation of default metadata file:
sudo su root chown -R fourstore: /var/lib/4store /var/log/4store su - fourstore -s /bin/sh -c "4s-backend-setup default"