Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cassandra as a Windows Service

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?

like image 915
Uğur Hasar Avatar asked Oct 18 '25 16:10

Uğur Hasar


1 Answers

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.

like image 91
Mustafa Savas Avatar answered Oct 20 '25 07:10

Mustafa Savas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!