Install Apache Cassandra di Debian 9
Step by step :
- Packet yang dibutuhkan sebelum install apache cassandra – Java$ sudo apt update
$ sudo apt install openjdk-8-jdk - Install apt repository https$ sudo apt install apt-transport-https
- Import repository public key$ wget -q -O – https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add –
$ sudo sh -c ‘echo “deb http://www.apache.org/dist/cassandra/debian 311x main” > /etc/apt/sources.list.d/cassandra.list’ - Update Repository dan Install apache cassandra$ sudo apt update
$ sudo apt install cassandra - Verifikasi status apache cassandra$ nodetool status
Output :
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
— Address Load Tokens Owns (effective) Host ID Rack
UN 127.0.0.1 114.55 KiB 256 100.0% d8c27e24-ea26-4eeb-883c-5986218ba3ca rack1
Di tulis oleh: Nanda Anubis