Javatpoint Logo
Javatpoint Logo

How to install Cassandra on MacOS

Introduction

Apache Cassandra is a free and open source database management system based on NoSQL. It is designed to handle large amount of data across many commodity servers. It was released by Facebook on Google code in July, 2008. In April 2009, it became an apache incubator project. Its development was started by Avinash Laxman and Prashant Malik for Facebook inbox search feature. In this tutorial, we will install Cassandra on MacOS.

Prerequisites

  1. MacOS
  2. Homebrew must be installed on system.
  3. Login as an administrator on terminal.

Installation

Installation includes following steps.

1) Update the repository index of homebrew

Repository index of homebrew needs to be updated in order to install Cassandra on MacOS. Following command is used for this purpose.

2) Install Cassandra

Following command is used to install Cassandra on MacOS.

This installs Cassandra on location /usr/local/cellar/Cassandra .

Install cassandra

3) Start Cassandra

Following command is used to start Cassandra.

Install cassandra

4) Stop Cassandra

Following command is used to stop Cassandra.

Install cassandra

Hence, we have successfully installed Cassandra on MacOS.






Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA