Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added detailed compilation and running instructions for Ubuntu 22.* #1130

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -2,6 +2,21 @@

To build riak, Erlang OTP 22 or higher is required.

To install and run on Ubuntu 22

1. sudo apt upgrade
2. sudo apt update
3. sudo apt install build-essential
4. sudo apt install libpam0g-dev
5. sudo apt install erlang
6. sudo apt install cmake
7. Go to the riak GitHub repo and clone the repo (https://github.com/basho/riak)
8. cd riak
9. sudo ./rebar3 get-deps
10. sudo make rel
11. Edit riak/rel/riak/etc/riak.config following the user [documentation](https://www.tiot.jp/riak-docs/riak/kv/2.9.10/) or the [legacy documentation](https://docs.riak.com/riak/kv/latest/index.html)
12. 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`.
Expand Down