Installation from Debian packages
- For the
<release series>
specify the major version number, without dot, and with an appendedx
. - The latest
<release series>
is311x
. - For older releases, the
<release series>
can be one of30x
,22x
, or21x
. - Add the Apache repository of Cassandra to
/etc/apt/sources.list.d/cassandra.sources.list
, for example for the latest 3.11 version:
- Add the Apache Cassandra repository keys:
- Update the repositories:
- If you encounter this error:
Then add the public key A278B781FE4B2BDA as follows:
and repeat
sudo apt-get update
. The actual key may be different, you get it from the error message itself. For a full list of Apache contributors public keys, you can refer to https://www.apache.org/dist/cassandra/KEYS.- Install Cassandra:
- You can start Cassandra with
sudo service cassandra start
and stop it withsudo service cassandra stop
. However, normally the service will start automatically. For this reason be sure to stop it if you need to make any configuration changes. - Verify that Cassandra is running by invoking
nodetool status
from the command line. - The default location of configuration files is
/etc/cassandra
. - The default location of log and data directories is
/var/log/cassandra/
and/var/lib/cassandra
. - Start-up options (heap size, etc) can be configured in
/etc/default/cassandra
.
Installation from RPM packages
- For the
<release series>
specify the major version number, without dot, and with an appendedx
. - The latest
<release series>
is311x
. - For older releases, the
<release series>
can be one of30x
,22x
, or21x
. - (Not all versions of Apache Cassandra are available, since building RPMs is a recent addition to the project.)
- Add the Apache repository of Cassandra to
/etc/yum.repos.d/cassandra.repo
, for example for the latest 3.11 version:
- Install Cassandra, accepting the gpg key import prompts:
Start Cassandra (will not start automatically):
Systemd based distributions may require to run
systemctl daemon-reload
once to make Cassandra available as a systemd service. This should happen automatically by running the command above.
Make Cassandra start automatically after reboot:
Please note that official RPMs for Apache Cassandra only have been available recently and are not tested thoroughly on all platforms yet. We appreciate your feedback and support and ask you to post details on any issues in the corresponding Jira ticket.
Source
Development is done in the Apache Git repository. To check out a copy:
ReplyDeleteNice post content is impressive to read ,Thanks for proving some helpful information.Hope you will keep on sharing articles.
This provides good insight. You might also be interested to know more about generating more leads and getting the right intelligence to engage prospects. Techno Data Group implements new lead gen ideas and strategies for generating more leads and targeting the right leads and accounts.
TECHNO DATA GROUP