aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • Engineering
  • Software Engineering

How-To: Install Apache Cassandra DB On Ubuntu 22.04

  • aster.cloud
  • September 26, 2022
  • 1 minute read

This guide contains instructions on how to install Apache Cassandra database on an Ubuntu 22.04 machine.

Prerequisites

  • Operating System : Ubuntu 22.04
  • Access to a Terminal or Shell Console
  • Cassandra requirements
    • Java 8 or later is installed

Installation

01. Open a terminal window


Partner with aster.cloud
for your next big idea.
Let us know here.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

02. Add the Apache repository of Cassandra

$ echo "deb https://debian.cassandra.apache.org 41x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.listdeb https://debian.cassandra.apache.org 41x main

03. Add the Apache Cassandra repository keys

$ curl https://downloads.apache.org/cassandra/KEYS | sudo apt-key add -

04. Update the repository

$ sudo apt update

05. Install Cassandra, enter y when asked to confirm installation.

$ sudo apt install cassandra

06. Optional. Update the configuration to allow it to be accessible publicly. Note that this should be done only in a development environment.

$ sudo nano /etc/cassandra/cassandra.yaml

Set the following configuration as follows

...
rpc_address: <public-ip-address>

...
listen_address: localhost

07. Check the status of Cassandra

$ nodetool status

Uninstallation

01. Remove Apache Cassandra from the package manager. Confirm removal by typing “y” on the prompt.

$ sudo apt remove cassandra

02. Verify if removed successfully by checking with nodetool

$ nodetool status

Additional Commands

Access the cqlsh (CLI for interacting with Cassandra)

$ cqlsh

$ sudo service cassandra start

Start Cassandra service

$ sudo service cassandra start

Stop Cassandra service

$ sudo service cassandra stop
Read More  Intro To Data Science On Google Cloud

For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Our humans need coffee too! Your support is highly appreciated, thank you!

aster.cloud

Related Topics
  • Apache Cassandra
  • Databases
  • Tutorials
  • Ubuntu
You May Also Like
Points, Lines and a Question
View Post
  • Architecture
  • Design
  • Engineering
  • People

What Is The Point In Making Points?

  • November 26, 2025
View Post
  • Software Engineering

Embedded Swift Improvements Coming in Swift 6.3

  • November 22, 2025
Visual Studio Code
View Post
  • Software Engineering

Visual Studio 2026 is here: faster, smarter, and a hit with early adopters

  • November 12, 2025
View Post
  • Software Engineering

Introducing Google Gen AI .NET SDK

  • October 24, 2025
View Post
  • Software Engineering

Julia 1.12 Highlights

  • October 13, 2025
View Post
  • Engineering
  • Software Engineering

Development gets better with Age

  • October 9, 2025
View Post
  • Software Engineering

The Growth of the Swift Server Ecosystem

  • September 27, 2025
men with computer website information and chat bubbles vector illustration
View Post
  • Software
  • Software Engineering

What is an ISV (independent software vendor)?

  • August 27, 2025

Stay Connected!
LATEST
  • 1
    Apple unveils groundbreaking MacBook Pro with PROLED XDR Display and Touch for the first time on Mac
    • October 28, 2026
  • 2
    Apple introduces the new 14‑inch MacBook Pro with M6
    • October 27, 2026
  • 3
    Apple unveils new iMac with M6, delivering a major boost in performance and AI capabilities
    • October 27, 2026
  • 4
    IBM and Siemens Collaborate on Research to Advance Nanostack Architecture
    • October 14, 2026
  • 5
    Chinese tech giant Huawei unveils Mate 90 series smartphones with flagship Tau chips adopting logic folding technology
    • October 2, 2026
  • 6
    IBM Acquires Logiq Consulting to Expand Secure Digital Transformation and Cybersecurity Capabilities in the UK
    • September 24, 2026
  • 7
    Accenture and Google Cloud Transform Software Development with Volvo Cars
    • September 22, 2026
  • 8
    Synthetic data could ease people’s concerns about privacy breaches. But who gets to create it?
    • September 15, 2026
  • 9
    Apple Flagship Hardware Launch for September 2026
    • September 10, 2026
  • 10
    Multi-cloud with AWS and Azure just got a whole lot easier thanks to a new interconnect service
    • September 2, 2026
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • 1
    Broadcom eyes security, performance boosts with vDefend and Avi Load Balancer updates
    • August 7, 2026
  • Why real SaaS resilience means breaking free of the hyperscaler
    • August 11, 2026
  • Agentic AI is spurring a ‘fundamental shift’ in cloud infrastructure consumption
    • August 17, 2026
  • 4
    VMware targets ‘three core AI cost drivers’ with new Private AI Cloud service
    • September 2, 2026
  • 5
    Digital sovereignty in the age of AI: You don’t have to choose between control and innovation
    • August 10, 2026
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.