Riak on Windows

10,414

Solution 1

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

Solution 2

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.

Solution 3

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

Solution 4

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

Share:
10,414

Related videos on Youtube

Michael Edwards
Author by

Michael Edwards

Sitecore MVP and developer of the Glass.Sitecore.Mapper project (http://www.glass.lu).

Updated on December 15, 2020

Comments

  • Michael Edwards
    Michael Edwards over 3 years

    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?

    • yazz.com
      yazz.com about 14 years
      Did you ever get Riak installed on Windows? I am interested in doing the same.
  • yazz.com
    yazz.com about 14 years
    Do you have any step by step instructions I could follow to get Riak onto windows?
  • yazz.com
    yazz.com about 14 years
    Ok, I am going to try this now
  • yazz.com
    yazz.com almost 12 years
    If you can send me a link for Riak on Windows I would very much appreciate it, and then I will be happy to be disproved :)
  • mit
    mit almost 12 years
    Kyle C. Quest shows in a video that it can be ported. It seems he did not publish his modifications? Here is his video: vimeo.com/29764118
  • mit
    mit almost 12 years
    J. Peschka explains some difficulties he sees in doing a windows port here: riak-users.197444.n3.nabble.com/Windows-tt3757870.html#a3760‌​693
  • mit
    mit almost 12 years
    After all that I read it seems difficult to port it and it is not supported by basho, but that does not mean it's impossible to write and maintain a port.

Related