home shape

ArangoDB 1.4.0 on Raspberry Pi: Database Power for Small Devices

This is a follow to the post about ArangoDB 1.3 running on Raspberry PI. With the release of ArangoDB 1.4.0 I now tried to compile it again. As all patches required for 1.3 are part of 1.4.0 it is now much easier.

  pi> sudo apt-get install libreadline6 libreadline6-dev libssl-dev
  pi> git clone -b v1.4.0 https://github.com/triAGENS/ArangoDB
  pi> cd ArangoDB
  pi> ./configure --enable-all-in-one-icu --enable-all-in-one-v8 --enable-all-in-one-libev --disable-mruby
  pi> make

After a few hours, everything (including V8 & ICU) is compiled and you can start ArangoDB on a raspberry

  pi> mkdir /tmp/testbase
  pi> ./bin/arangod -c etc/relative/arangod.conf /tmp/testbase

and the shell in another window

  pi> ./bin/arangosh -c etc/relative/arangosh.conf

or point your browser to http://pi:8529/

However, if you do not want to wait for hours, I’ve tried to build a debian package, which can be downloaded from here:

    pi> wget http://www.arangodb.com/repositories/raspbian/arangodb-1.4.0-raspbian.deb
    pi> sudo dpkg -i arangodb-1.4.0-raspbian.deb

This has not been tested in detail. So any feedback or improvements are welcome.

Frank Celler

Frank Celler

Frank is both entrepreneur and backend developer, developing mostly memory databases for two decades. He is the CTO and co-founder of ArangoDB. Try to challenge Frank asking him questions on C, C++ and MRuby. Besides Frank organizes Cologne’s NoSQL group & is an active member of NoSQL community.

2 Comments

  1. Guille on October 3, 2014 at 4:28 am

    Hi In my armhf debian I already installed v8 (libv8-dev) and now I am trying to configure ArangoDB (2.2.3) with following command:

    ./configure –with-v8=/usr –with-v8-lib=/usr/lib –disable-all-in-one-v8 –enable-all-in-one-libev –enable-all-in-one-icu

    But it doesnt work, keeps throwing:

    checking for v8::V8::GetVersion() in -lv8_base… no
    configure: error: Please install the V8 library from Google

    Even when the header files and libraries are there. What am I missing? Thanks!

    • luebbert42 on October 3, 2014 at 7:41 am

      could you open a ticket either at stackoverflow (tag with ArangoDB) or in the ArangoDB google group? Thanx!

Leave a Comment





Get the latest tutorials, blog posts and news: