Cassandra Installation Steps:
To install Cassandra on Debian or other Debian derivatives like Ubuntu, LinuxMint..., use the following:
To install Cassandra on Debian or other Debian derivatives like Ubuntu, LinuxMint..., use the following:
1- First upgrade your software :
sudo apt-get update
2- Uninstall Open Java Version, if already installed
sudo apt-get purge openjdk*
3- remove Oracle Java Information, if already added in debian package
sudo rm /var/lib/dpkg/info/oracle-java7-installer*
4- Uninstall the Oracle Java Version,
5- Install Python Software Properties for add a repository.
6- add a repository key for oracle java
7- Update the package details
8- Finally install the Oracle Java Version 7
9- Create the Separate Source list for a cassandra distribuation
10 - add a verification key for genuine cassandra installation
11- Update the package details
12- install the python-cql and data stax cassandra (dsc1.1)
13- stop the cassandra service, Once installed cassandra service started automattically
14- Remove the existing data in the cassandra.
sudo apt-get purge oracle-java7-installer*
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
vim /etc/apt/sources.list.d/cassandra.sources.list
deb http://debian.datastax.com/community stable main
curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -
sudo apt-get update
sudo apt-get install python-cql dsc1.1
sudo service cassandra stop
sudo bash -c 'rm /var/lib/cassandra/data/system/*'
No comments:
Post a Comment