How to install Cassandra on Ubuntu 16.04












0















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?










share|improve this question





























    0















    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?










    share|improve this question



























      0












      0








      0








      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?










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 9 at 11:20









      karel

      58.5k13128147




      58.5k13128147










      asked Jan 8 at 22:03









      Archana MasilamaniArchana Masilamani

      1




      1






















          2 Answers
          2






          active

          oldest

          votes


















          0














          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.






          share|improve this answer































            0














            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






            share|improve this answer

























              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
              });


              }
              });














              draft saved

              draft discarded


















              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









              0














              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.






              share|improve this answer




























                0














                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.






                share|improve this answer


























                  0












                  0








                  0







                  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.






                  share|improve this answer













                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 9 at 11:09









                  Alex OttAlex Ott

                  1012




                  1012

























                      0














                      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






                      share|improve this answer






























                        0














                        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






                        share|improve this answer




























                          0












                          0








                          0







                          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






                          share|improve this answer















                          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







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jan 21 at 0:47

























                          answered Jan 9 at 11:15









                          karelkarel

                          58.5k13128147




                          58.5k13128147






























                              draft saved

                              draft discarded




















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                               ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕