tags:

views:

477

answers:

4
+2  Q: 

Riak on Windows

I want to play with Riak http://riak.basho.com/ or a least get it running on a Windows system. I have downloaded the source code and compiled it but that's where I get stuck, how do I start it?

+7  A: 

Looks like the riak source has several bash start scripts. You would have to convert those to a windows batch script equivalent. That could be a fairly interesting chore given how limited batch scripts are. Those start-*.sh files show how to start it up though so I'd start there.

The http://hg.basho.com/riak/src/tip/README Readme file has futher info on what each script does.

Jeremy Wall
A: 

Riak can not be run on Windows, only on Linux and Mac.

Zubair
+1  A: 

It does run, altough I havent managed to run it as a service yet.

Install CYGwin, install latest erlang, get source code, compile in cygwin

then the fun part, adjust according to your paths and place into a batch

c:\riak\rel\riak\erts-5.7.4\bin\erl -boot c:\riak\rel\riak\releases\0.8\riak -embedded -config c:\riak\rel\riak\etc\app.config -args_file c:\riak\rel\riak\etc\vm.args -- console

Regards

Alfredo Aviles
Do you have any step by step instructions I could follow to get Riak onto windows?
Zubair
Ok, I am going to try this now
Zubair
A: 

An alternative is to run VMWare or VirtualBox and run Riak inside a Linux VM. Works great for me.

drush