【发布时间】:2013-02-04 18:57:58
【问题描述】:
我刚刚在 Windows Server 2012 上安装了Apache Casandra 1.2.1(它是一个虚拟机)。我双击 cassandra.bat 并且它没有错误地工作。
如何将 Cassandra.bat 作为 Windows 服务运行,以便从 cumputer 注销?
【问题讨论】:
我刚刚在 Windows Server 2012 上安装了Apache Casandra 1.2.1(它是一个虚拟机)。我双击 cassandra.bat 并且它没有错误地工作。
如何将 Cassandra.bat 作为 Windows 服务运行,以便从 cumputer 注销?
【问题讨论】:
cassandra.bat 文件还可以帮助您将 Cassandra 作为 Windows 服务运行。您只需要 Commons Daemon Service Runner Windows 二进制文件。
您需要在 bin 目录下创建一个名为 daemon 的文件夹,并将正确版本(32/64 位)的 prunsrv.exe 解压到此目录(bin\daemon)。
运行命令提示符并将目录更改为 bin。类型;
cassandra.bat 安装
然后运行 services.msc 命令来查看 cassandra(是的,小写)作为 Windows 服务。
你也可以下载
或
轻松安装、配置和运行 Apache Cassandra 作为 Windows 服务。
【讨论】: