Install Apache Cassandra di Debian 9


Step by step :

  1. Packet yang dibutuhkan sebelum install apache cassandra – Java$ sudo apt update
    $ sudo apt install openjdk-8-jdk
  2. Install aptĀ  repository https$ sudo apt install apt-transport-https
  3. 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’
  4. Update Repository dan Install apache cassandra$ sudo apt update
    $ sudo apt install cassandra
  5. 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

Baca Juga:  How to Change Your FTP Port

Di tulis oleh: