Skip to content

Latest commit

 

History

History
80 lines (57 loc) · 2.51 KB

installation.rst

File metadata and controls

80 lines (57 loc) · 2.51 KB

Installation

Linux

You can follow this steps: https://gist.github.com/sacreman/9015bf466b4fa2a654486cd79b777e64

Binaries

Starting with 14.4.0 Datasets, Joyent introduced signed packages. To properly install DalmatinerDB packages, the Project-FiFo public key is required and can be installed with the following command.

curl -O https://project-fifo.net/fifo.gpg
gpg --primary-keyring /opt/local/etc/gnupg/pkgsrc.gpg --import < fifo.gpg
gpg --keyring /opt/local/etc/gnupg/pkgsrc.gpg --fingerprint

The key id is BB975564 and the fingerprint CE62 C662 67D5 9129 B291 62A0 ADDF 278A BB97 5564 should be returned respectively.

Binary packages for SmartOS are are in the project-fifo repository they can be installed via pkgin:

VERSION='dev' # use 'rel' for release packages
echo "http://release.project-fifo.net/pkg/${VERSION}/" >>/opt/local/etc/pkgin/repositories.conf
pkgin -fy up
pkgin install dalmatinerdb # To install the backend package
pkgin install dalmatinerfe # To install the frontend package

From Source

Dependencies:

  • Erlang > R16B3 < R19
  • Make
  • GCC
  • G++

Installing the datastore

git clone https://github.com/dalmatinerdb/dalmatinerdb.git
cd dalmatinerdb
make all rel
cp -r rel/dalmatinerdb $TARGET_DIRECTORY
cd $TARGET_DIRECTORY
cp etc/dalmatinerdb.conf.example etc/dalmatinerdb.conf
vi etc/dalmatinerdb.conf # check the settings and adjust if needed
./bin/ddb start

Note

DalmatinerDB by default expects to run as the user dalmatiner, this can be changed or disabled by editing the bin/ddb file's entry RUNNER_USER

Installing the frontend

git clone https://github.com/dalmatinerdb/dalmatiner-frontend.git
cd dalmatiner-frontend
make deps all rel
cp -r rel/dalmatinerfe $TARGET_DIRECTORY
cd $TARGET_DIRECTORY
cp etc/dalmatinerfe.conf.example etc/dalmatinerfe.conf
vi etc/dalmatinerfe.conf # check the settings and adjust if needed
./bin/dalmatinerfe start

Note

DalmatinerFrontend by default expects to run as the user dalmatiner, this can be changed or disabled by editing the bin/dalmatinerfe file's entry RUNNER_USER

Warning

At the moment automatic handling of disconnected upstream servers isn't handled well and might require a restart of the frontend.