Cassandra as a Windows Service

I just installed Apache Casandra 1.2.1 on Windows Server 2012 (this is a virtual machine). I double clicked cassandra.bat and it worked without error.

How do I start Cassandra.bat as a Windows service so that I can exit the cumputer?

+3


source to share


1 answer


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

You will need to create a folder called daemon in the bin directory and extract the correct version (32/64 bit) of the prunsrv.exe file ( bin \ daemon ) into that folder .

Run command line and change directory to trash. Enter;

cassandra.bat install

Then run services.msc to see cassandra (yes, at the bottom) as a Windows service.



You can also download

Datastax Community Edition

or

Cassandrows

which easily installs, configures and runs Apache Cassandra as a Windows service.

+7


source







All Articles