Windows 上的 Riak

发布于 2024-08-12 23:04:30 字数 150 浏览 3 评论 0原文

我想和 Riak http://riak.basho.com/ 一起玩,或者至少让它在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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

纵性 2024-08-19 23:04:30

它确实运行了,尽管我还没有设法将它作为服务运行。

安装CYGwin,安装最新的erlang,获取源代码,在cygwin中编译,

然后是有趣的部分,根据您的路径进行调整并放入批处理中

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 -- 控制台

问候

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

┈┾☆殇 2024-08-19 23:04:30

看起来 riak 源有几个 bash 启动脚本。您必须将它们转换为等效的 Windows 批处理脚本。考虑到批处理脚本的有限性,这可能是一项相当有趣的苦差事。这些 start-*.sh 文件显示了如何启动它,所以我将从那里开始。

http://hg.basho.com/riak/src/tip/README 自述文件包含有关每个脚本功能的更多信息。

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.

装迷糊 2024-08-19 23:04:30

Riak 不能在 Windows 上运行,只能在 Linux 和 Mac 上运行。

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

浸婚纱 2024-08-19 23:04:30

另一种方法是运行 VMWare 或 VirtualBox 并在 Linux VM 中运行 Riak。对我来说效果很好。

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

忆伤 2024-08-19 23:04:30

在 docker 实例中运行它效果非常好 - 这是 2017 年在 Windows 上成功运行 Riak 的唯一方法。您可能可以使用 Cygwin 运行一些东西,但这将非常复杂且不可靠。在 Docker 下运行是目前最惯用的解决方案。

Running it inside docker instance works very well - this is in 2017 the only way to successfully run Riak on Windows. You could probably get something running using Cygwin but this will be very complex and unreliable. Running under Docker is currently the most idiomatic solution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文