Skip to content

Instantly share code, notes, and snippets.

@SoleeL
Last active January 18, 2023 19:28
Show Gist options
  • Save SoleeL/910c5c193f480569a2c3239a63895240 to your computer and use it in GitHub Desktop.
Save SoleeL/910c5c193f480569a2c3239a63895240 to your computer and use it in GitHub Desktop.

Revisions

  1. SoleeL revised this gist Jan 18, 2023. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Apache Cassandra Linux (Deb).md
    Original file line number Diff line number Diff line change
    @@ -12,11 +12,13 @@ https://stackoverflow.com/questions/58374661/how-to-fix-active-active-exited-iss
    ## 2.- Instalacion de Apache Cassandra

    Seguir las instrucciones de la pagina oficial:

    https://cassandra.apache.org/doc/latest/cassandra/getting_started/installing.html

    ## 3.- Post instalacion

    Considerar realizar las configuraciones del paso 7:

    https://www.hostinger.com/tutorials/set-up-and-install-cassandra-ubuntu/

    ## 4.- Especificar la red "localhost"
  2. SoleeL revised this gist Jan 18, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Apache Cassandra Linux (Deb).md
    Original file line number Diff line number Diff line change
    @@ -11,12 +11,12 @@ https://stackoverflow.com/questions/58374661/how-to-fix-active-active-exited-iss

    ## 2.- Instalacion de Apache Cassandra

    Seguir las instrucciones de la pagina oficial
    Seguir las instrucciones de la pagina oficial:
    https://cassandra.apache.org/doc/latest/cassandra/getting_started/installing.html

    ## 3.- Post instalacion

    Considerar realizar las configuraciones del paso 7
    Considerar realizar las configuraciones del paso 7:
    https://www.hostinger.com/tutorials/set-up-and-install-cassandra-ubuntu/

    ## 4.- Especificar la red "localhost"
  3. SoleeL revised this gist Jan 18, 2023. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions Apache Cassandra Linux (Deb).md
    Original file line number Diff line number Diff line change
    @@ -26,3 +26,8 @@ Editar las variables de entorno de Apache Cassandra entrando al fichero de confi
    Y modificar la variable **JVM_OPTS** con la siguiente linea.
    > JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=**localhost**"
    Para terminar, debemos reiniciar el servicio "cassandra".
    > sudo service cassandra restart
    Ahora Apache Cassandra deberia esta funcionando sin problema.
  4. SoleeL revised this gist Jan 18, 2023. 1 changed file with 14 additions and 1 deletion.
    15 changes: 14 additions & 1 deletion Apache Cassandra Linux (Deb).md
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,17 @@ https://stackoverflow.com/questions/58374661/how-to-fix-active-active-exited-iss
    ## 2.- Instalacion de Apache Cassandra

    Seguir las instrucciones de la pagina oficial
    https://cassandra.apache.org/doc/latest/cassandra/getting_started/installing.html
    https://cassandra.apache.org/doc/latest/cassandra/getting_started/installing.html

    ## 3.- Post instalacion

    Considerar realizar las configuraciones del paso 7
    https://www.hostinger.com/tutorials/set-up-and-install-cassandra-ubuntu/

    ## 4.- Especificar la red "localhost"

    Editar las variables de entorno de Apache Cassandra entrando al fichero de configuracion con este comando:
    > sudo nano /etc/cassandra/cassandra-env.sh
    Y modificar la variable **JVM_OPTS** con la siguiente linea.
    > JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=**localhost**"
  5. SoleeL created this gist Jan 18, 2023.
    15 changes: 15 additions & 0 deletions Apache Cassandra Linux (Deb).md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    ## 1.- Preconfiguracion

    Apache Cassandra requiere de "openjdk-8-jdk" y "openjdk-8-jre".

    Ejecutar el comando:
    > java -version
    Esto nos dira si tenemos la version 8 necesaria. Si no, entonces realizar los pasos de la primera respuesta de este post:

    https://stackoverflow.com/questions/58374661/how-to-fix-active-active-exited-issue-in-cassandra-server

    ## 2.- Instalacion de Apache Cassandra

    Seguir las instrucciones de la pagina oficial
    https://cassandra.apache.org/doc/latest/cassandra/getting_started/installing.html