To build riak, Erlang OTP 22 or higher is required.
To install and run on Ubuntu 22
- sudo apt upgrade
- sudo apt update
- sudo apt install build-essential
- sudo apt install libpam0g-dev
- sudo apt install erlang
- sudo apt install cmake
- Go to the riak GitHub repo and clone the repo (https://github.com/basho/riak)
- cd riak
- sudo ./rebar3 get-deps
- sudo make rel
- Edit riak/rel/riak/etc/riak.config following the user documentation or the legacy documentation
- sudo riak daemon
make rel
will build a release which can be run via rel/riak/bin/riak start
. Riak is primarily configured via rel/riak/etc/riak.conf
To make a package, install appropriate build tools for your operating system and run make package
.
To create a local multi-node build environment use make devclean; make devrel
.
To test Riak use Riak Test.
Up to date documentation is not available, but work on documentation is ongoing and the core information available in the legacy documentation is still generally relevant.
Issues and PRs can be tracked via Riak Github or Riak KV Github.