Apache Cassandra: Difference between revisions
Default configuration values |
→Install Apache Cassandra on Ubuntu 16.04: Install via apt |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
$ curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add - | $ curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add - | ||
$ sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-key A278B781FE4B2BDA | $ sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-key A278B781FE4B2BDA | ||
</source> | |||
Install via apt. | |||
<source lang="bash"> | |||
$ sudo apt install cassandra | |||
</source> | </source> | ||
== Default configuration values == | == Default configuration values == | ||
<code>/etc/cassandra/cassandra.yaml</code> | Configuration file: <code>/etc/cassandra/cassandra.yaml</code> | ||
<pre class="output"> | <pre class="output"> |
Latest revision as of 21:03, 2 March 2018
Install Apache Cassandra on Ubuntu 16.04
This adds repo for the stable release of 3.11.x.
$ echo "deb http://www.apache.org/dist/cassandra/debian 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
Add the repository keys.
$ curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -
$ sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-key A278B781FE4B2BDA
Install via apt.
$ sudo apt install cassandra
Default configuration values
Configuration file: /etc/cassandra/cassandra.yaml
cluster_name: 'Test Cluster' ... - seeds: "127.0.0.1" ... storage_port: 7000 listen_address: localhost # or listen_interface: eth0 native_transport_port: 9042