How To Start Cassandra On Windows
How to showtime Cassandra as service in Windows ten/7/server
Last Updated: May 25, 2019 How To
We already did a tutorial commodity in which nosotros had explained the way to install Apache Cassandra on Windows 10 or Windows Server 2008/2012 just without datastax. But there was a problem after running the Apache Cassandra service on Control prompt y'all tin can't close it otherwise you won't exist able to use Cassandra commands for Database. Nevertheless, running on PowerShell, indeed, nosotros tin can close information technology and Cassandra service volition still exist running in the background, but in that location is i catch that is later restarting the reckoner you again have to commencement service to get Apache Cassandra up and running. This is a picayune bit annoying for regular users of this NoSQL database. So, here is the style to run the Apache Cassandra as background Windows service which automatically starts with computer boot upward.
Run or Offset Cassandra as Windows 10/7 or Server service
Before following the below steps the Cassandra must be installed on your computer if it not then here is tutorial on that: Install Apache Cassandra on windows x/eight/7 without Datastax
Step 1: Download Apache commons daemon
To run Cassandra as a Windows service, the get-go thing nosotros demand is the open source project Apache commons daemon that provides a portable way to start and finish a Java Virtual Machine that is running server-side applications.
Here is the link to download Apache commons daemon library. Select the latest update zip file and download that.
Later downloading the Apache commons daemon zipped file, excerpt information technology and move to the next step.
Footstep iii: Cassandra Bin folder
Get to your Cassandra binder that you have downloaded and gear up to run its unlike services. Inside the Cassandra binder at that place in i another folder named "Bin" open that.
Step 4: Create a Daemon binder
Inside the bin folder of Cassandra create a binder named daemon, manually. As shown in the beneath screenshot.
Footstep 5: Re-create prunsrv.exe
Now get back to your Apache mutual Daemon extracted the folder and equally per your operating organization 32 bit or 64-bit copy prunsrv.exe file. The 64-bit version file is inside the amd64 folder.
After copying information technology once again get to the daemon folder you have created inside the bin folder of Cassandra and paste prunsrv.exe there.
Footstep 6: Install Cassandra every bit a Windows service
Open up the Command prompt equally ambassador and navigate to Cassandra->bin folder and execute the following control:
cassandra.bat -install
This makes Cassandra service automatically starts on Windows 10/viii/7 or Windows servers.
Step seven: How to offset or stop Cassandra service in windows
We take added the Casandra in Windows service, thus, y'all can easily get it in the Services app of windows. To open that blazon services in the Windows search box and open it, as it appears.
Notice the Cassandra service and from there you can commencement or stop Apache Cassandra service on Windows platform with one click.
Other Useful Resources:
- Top Open source NoSQL database programs
- x Peak Mongodb GUI tools to manage databases graphically
- How to Create a Database in PHPMyAdmin
- Backup WordPress database with phpMyAdmin
Source: https://www.how2shout.com/how-to/how-to-start-cassandra-as-service-in-windows-10-7-server.html
Posted by: jacksonackles94.blogspot.com
0 Response to "How To Start Cassandra On Windows"
Post a Comment