Basho discontinues the Luwak support since Riak 1.1 . If you need a version of Riak 1.1 with Luwak to support your legacy services, you may follow this article to build a Riak 1.1.2 with Luwak support(using Ubuntu).
Fisrt, get erlang R14B03, devscripts, debhelper, gcc installed.
Second, you need to checkout a version 1.1.2 riak source code from github:
git clone git://github.com/basho/riak.git
git checkout riak-1.1.2
Third, you may follow the installation guide in https://github.com/basho/luwak .
Modify rebar.config, in deps , add
{luwak, ".*", {git, "git://github.com/basho/luwak"}}
and rel/reltool.config, add
luwak,
skerl,
...
{app, skerl, [{incl_cond, include}]},
{app, luwak, [{incl_cond, include}]},
and optionally rel/files/app.config, add
{luwak, [{enabled, true}]}
Then build the riak with
make rel
You shall get the Luwak supported Riak 1.1.2.
If need to build a deb package. You need modify the rebar.config, rel/reltool.config and rel/files/app.config in distdir/riak-1.1.2/. And build the package with
make package RELEASE=1
You shall get the packages in package/packages/ as riak_1.1.2-1_*.deb.
Fisrt, get erlang R14B03, devscripts, debhelper, gcc installed.
Second, you need to checkout a version 1.1.2 riak source code from github:
git clone git://github.com/basho/riak.git
git checkout riak-1.1.2
Third, you may follow the installation guide in https://github.com/basho/luwak .
Modify rebar.config, in deps , add
{luwak, ".*", {git, "git://github.com/basho/luwak"}}
and rel/reltool.config, add
luwak,
skerl,
...
{app, skerl, [{incl_cond, include}]},
{app, luwak, [{incl_cond, include}]},
and optionally rel/files/app.config, add
{luwak, [{enabled, true}]}
Then build the riak with
make rel
You shall get the Luwak supported Riak 1.1.2.
If need to build a deb package. You need modify the rebar.config, rel/reltool.config and rel/files/app.config in distdir/riak-1.1.2/. And build the package with
make package RELEASE=1
You shall get the packages in package/packages/ as riak_1.1.2-1_*.deb.
Comments