How to install Cassandra on Ubuntu 16.04
I want to install Cassandra on Ubuntu 16.04, and I'm not sure which version to use. How to find the right Cassandra version for 16.04?
16.04 software-installation cassandra
add a comment |
I want to install Cassandra on Ubuntu 16.04, and I'm not sure which version to use. How to find the right Cassandra version for 16.04?
16.04 software-installation cassandra
add a comment |
I want to install Cassandra on Ubuntu 16.04, and I'm not sure which version to use. How to find the right Cassandra version for 16.04?
16.04 software-installation cassandra
I want to install Cassandra on Ubuntu 16.04, and I'm not sure which version to use. How to find the right Cassandra version for 16.04?
16.04 software-installation cassandra
16.04 software-installation cassandra
edited Jan 9 at 11:20
karel
58.5k13128147
58.5k13128147
asked Jan 8 at 22:03
Archana MasilamaniArchana Masilamani
1
1
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Cassandra is written in Java, so it could be used with different distributions that have correct version of Java (Java 8 - oracle or openjdk). If you're just starting, then you need to take latest released version: 3.11.3 (see this article for full instructions on setup) - add following source:
deb http://www.apache.org/dist/cassandra/debian 311x main
and then install cassandra
package, plus you need to install Python 2.7 - that's standard python
package.
add a comment |
Cassandra distributed database is a snap package in all currently supported versions of Ubuntu. The current stable version of the cassandra snap package is 3.7 and the edge version is 3.10-SNAPSHOT. To install cassandra run this command:
sudo snap install cassandra
sudo snap connect cassandra:mount-observe
The cassandra snap package will be updated automatically when updates are available.
You can check on the status of the cassandra service with:
systemctl status snap.cassandra.cassandra.service
If you were able to successfully start Cassandra, check the status of the cluster:
cassandra.nodetool status
In the output, UN
means it's Up and Normal:
Set a custom configuration:
cat cassandra.yaml | sudo /snap/bin/cassandra.config-set cassandra.yaml
Commands:
cassandra.config-get
cassandra.config-set
cassandra.env-get
cassandra.nodetool
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1108128%2fhow-to-install-cassandra-on-ubuntu-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Cassandra is written in Java, so it could be used with different distributions that have correct version of Java (Java 8 - oracle or openjdk). If you're just starting, then you need to take latest released version: 3.11.3 (see this article for full instructions on setup) - add following source:
deb http://www.apache.org/dist/cassandra/debian 311x main
and then install cassandra
package, plus you need to install Python 2.7 - that's standard python
package.
add a comment |
Cassandra is written in Java, so it could be used with different distributions that have correct version of Java (Java 8 - oracle or openjdk). If you're just starting, then you need to take latest released version: 3.11.3 (see this article for full instructions on setup) - add following source:
deb http://www.apache.org/dist/cassandra/debian 311x main
and then install cassandra
package, plus you need to install Python 2.7 - that's standard python
package.
add a comment |
Cassandra is written in Java, so it could be used with different distributions that have correct version of Java (Java 8 - oracle or openjdk). If you're just starting, then you need to take latest released version: 3.11.3 (see this article for full instructions on setup) - add following source:
deb http://www.apache.org/dist/cassandra/debian 311x main
and then install cassandra
package, plus you need to install Python 2.7 - that's standard python
package.
Cassandra is written in Java, so it could be used with different distributions that have correct version of Java (Java 8 - oracle or openjdk). If you're just starting, then you need to take latest released version: 3.11.3 (see this article for full instructions on setup) - add following source:
deb http://www.apache.org/dist/cassandra/debian 311x main
and then install cassandra
package, plus you need to install Python 2.7 - that's standard python
package.
answered Jan 9 at 11:09
Alex OttAlex Ott
1012
1012
add a comment |
add a comment |
Cassandra distributed database is a snap package in all currently supported versions of Ubuntu. The current stable version of the cassandra snap package is 3.7 and the edge version is 3.10-SNAPSHOT. To install cassandra run this command:
sudo snap install cassandra
sudo snap connect cassandra:mount-observe
The cassandra snap package will be updated automatically when updates are available.
You can check on the status of the cassandra service with:
systemctl status snap.cassandra.cassandra.service
If you were able to successfully start Cassandra, check the status of the cluster:
cassandra.nodetool status
In the output, UN
means it's Up and Normal:
Set a custom configuration:
cat cassandra.yaml | sudo /snap/bin/cassandra.config-set cassandra.yaml
Commands:
cassandra.config-get
cassandra.config-set
cassandra.env-get
cassandra.nodetool
add a comment |
Cassandra distributed database is a snap package in all currently supported versions of Ubuntu. The current stable version of the cassandra snap package is 3.7 and the edge version is 3.10-SNAPSHOT. To install cassandra run this command:
sudo snap install cassandra
sudo snap connect cassandra:mount-observe
The cassandra snap package will be updated automatically when updates are available.
You can check on the status of the cassandra service with:
systemctl status snap.cassandra.cassandra.service
If you were able to successfully start Cassandra, check the status of the cluster:
cassandra.nodetool status
In the output, UN
means it's Up and Normal:
Set a custom configuration:
cat cassandra.yaml | sudo /snap/bin/cassandra.config-set cassandra.yaml
Commands:
cassandra.config-get
cassandra.config-set
cassandra.env-get
cassandra.nodetool
add a comment |
Cassandra distributed database is a snap package in all currently supported versions of Ubuntu. The current stable version of the cassandra snap package is 3.7 and the edge version is 3.10-SNAPSHOT. To install cassandra run this command:
sudo snap install cassandra
sudo snap connect cassandra:mount-observe
The cassandra snap package will be updated automatically when updates are available.
You can check on the status of the cassandra service with:
systemctl status snap.cassandra.cassandra.service
If you were able to successfully start Cassandra, check the status of the cluster:
cassandra.nodetool status
In the output, UN
means it's Up and Normal:
Set a custom configuration:
cat cassandra.yaml | sudo /snap/bin/cassandra.config-set cassandra.yaml
Commands:
cassandra.config-get
cassandra.config-set
cassandra.env-get
cassandra.nodetool
Cassandra distributed database is a snap package in all currently supported versions of Ubuntu. The current stable version of the cassandra snap package is 3.7 and the edge version is 3.10-SNAPSHOT. To install cassandra run this command:
sudo snap install cassandra
sudo snap connect cassandra:mount-observe
The cassandra snap package will be updated automatically when updates are available.
You can check on the status of the cassandra service with:
systemctl status snap.cassandra.cassandra.service
If you were able to successfully start Cassandra, check the status of the cluster:
cassandra.nodetool status
In the output, UN
means it's Up and Normal:
Set a custom configuration:
cat cassandra.yaml | sudo /snap/bin/cassandra.config-set cassandra.yaml
Commands:
cassandra.config-get
cassandra.config-set
cassandra.env-get
cassandra.nodetool
edited Jan 21 at 0:47
answered Jan 9 at 11:15
karelkarel
58.5k13128147
58.5k13128147
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1108128%2fhow-to-install-cassandra-on-ubuntu-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown