Cassandra作为Windows服务 [英] Cassandra as a Windows Service

查看:633
本文介绍了Cassandra作为Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Windows Server 2012(这是一个VM)上安装了 Apache Casandra 1.2.1 。我双击cassandra.bat和它工作没有错误。



如何运行Cassandra.bat作为Windows服务,因此我可以从cumputer注销?

解决方案

cassandra.bat文件还可以帮助您将Cassandra作为Windows服务运行。



您需要在守护程序下创建一个名为守护程序的文件夹 bin 目录,并将prunsrv.exe的正确版本(32/64位)解压缩到此目录( bin \daemon )。



运行命令提示符并将目录更改为bin。键入;



然后运行services.msc命令



您也可以下载



Datastax社区版





Cassandrows



轻松地安装,配置和运行Apache Cassandra作为Windows服务。


I just installed Apache Casandra 1.2.1 on Windows Server 2012 (It's a VM). I double clicked cassandra.bat and it worked without an error.

How can I run Cassandra.bat as a Windows Service, so I can sign out from cumputer?

解决方案

cassandra.bat file also helps you to run Cassandra as a Windows Service. You just need Commons Daemon Service Runner Windows binaries.

You will need to create a folder named daemon under the bin directory and extract the correct version (32/64 bit) of prunsrv.exe to this directory (bin\daemon).

Run command prompt and change directory to the bin. Type;

cassandra.bat install

Then run services.msc command to see cassandra(yes, lowercased) as a Windows Service.

You can also download

Datastax Community Edition

or

Cassandrows

which easily install, configure and run Apache Cassandra as a Windows Service.

这篇关于Cassandra作为Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆