Reverbrain wiki

Site Tools


elliptics:server-tutorial

Server setup tutorial

This tutorial only covers elliptics server and eblob backend setup. It does not describe how to setup HTTP client for example.

At this time we prepare packages for Ubuntu 12.04 LTS (Precise Pangolin), Ubuntu 14.04 LTS (Trusty Tahr), Debian “wheezy” 7 and RHEL/Centos/Oracle/SL 6.

For other distributions you should compile Elliptics from source code or contact us at https://groups.google.com/forum/?fromgroups=#!forum/reverbrain.

Reverbrain repository contains lts branch with all fresh packages, features and bugfixes.

Ubuntu 12.04 (Precise Pangolin)

This tutorial part is the same for all Ubunty and Debian distributions, you should only change repository names.

First you should setup Reverbrain Repository. Add /etc/apt/sources.list.d/reverbrain.list file with repository description:

deb http://repo.reverbrain.com/precise/ current/amd64/
deb http://repo.reverbrain.com/precise/ current/all/

Also you should add repository sign key:

curl http://repo.reverbrain.com/REVERBRAIN.GPG | apt-key add -

After that update apt packages index files and install elliptics:

apt-get update
apt-get install elliptics

RHEL/CentOS/Oracle/SL 6

To setup repository create /etc/yum.repos.d/reverbrain.repo file with the following content:

[reverbrain]
name=Reverbrain Repo for EL $releasever - Current
baseurl=http://repo.reverbrain.com/rhel/current/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.reverbrain.com/REVERBRAIN.GPG

When install elliptics by command:

yum install elliptics

Build from source

For other distributions you have to build elliptics manually. All packages require cmake >= 2.8, gcc/g++ >= 4.4, python >= 2.6, boost >= 1.41, handystats >= 1.10.2.

Handystats

VCS: http://github.com/shindo/handystats.git

Build Depends: boost >= 1.41, gtest

Blackhole

VCS: https://github.com/3Hren/blackhole.git

Build Depends: boost >= 1.41 (threads, iostreams)

Elliptics (v2.26.*) requires v0.2 branch, not the latest one.

Eblob

VCS: http://github.com/reverbrain/eblob.git

Build Depends: boost >= 1.41, python >= 2.6

Elliptics

VCS: http://github.com/reverbrain/elliptics.git

Build Depends: msgpack, eblob, boost >= 1.41, python >= 2.6

Please note to run

$ git submodule init
$ git submodule update

Cocaine Core

VCS: http://github.com/cocaine/cocaine-core.git

Build Depends: boost >= 1.41, libev, uuid, binutils, msgpack, libtool-ltdl, openssl, libarchive

Elliptics (2.26.*) supports v0.11 version, or you can disable cocaine support at compile time:

$ mkdir build
$ cd build
$ cmake -DWITH_COCAINE=OFF ..
$ make

Cocaine Framework Python

VCS: http://github.com/cocaine/cocaine-framework-python.git

Build Depends: python >= 2.6, python-setuptools
Depends: python-msgpack, python-tornado

Cocaine Framework Native

VCS: http://github.com/cocaine/cocaine-framework-native.git

Build Depends: cocaine-core, msgpack, libev, boost >= 1.41

Swarm

VCS: http://github.com/reverbrain/swarm.git

Build Depends: curl, uriparser, elliptics-client, libxml2, libev, boost >= 1.41

Grape

VCS: http://github.com/reverbrain/grape.git

Build Depends: cocaine-framework-native, elliptics, elliptics-client, boost >= 1.41, cocaine-core

More details

You can read more detailed document on Elliptics setup if you need that.

elliptics/server-tutorial.txt · Last modified: 2015/07/13 19:47 by zbr