Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Install cassandra

sudo apt update
sudo apt install openjdk-8-jdk -y
java -version
sudo apt install apt-transport-https
sudo sh -c 'echo "deb http://www.apache.org/dist/cassandra/debian 40x main" > /etc/apt/sources.list.d/cassandra.list'
wget -q -O - https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -
sudo apt update
sudo apt install cassandra
nodetool status
sudo systemctl status cassandra
Source by phoenixnap.com #
 
PREVIOUS NEXT
Tagged: #Install #cassandra
ADD COMMENT
Topic
Name
7+6 =