当前位置:   article > 正文

Cassandra 安装_cassandra 4.0 yum安装

cassandra 4.0 yum安装
  1. docker-compose
version: '3'

services:
  cassandra:
    image: cassandra:4.0.3
    container_name: cassandra
    ports:
      - '7000:7000'
      - '9042:9042'
    volumes:
      - ./data/cassandra:/bitnami
    environment:
      - CASSANDRA_SEEDS=cassandra
      - CASSANDRA_PASSWORD_SEEDER=yes
      - CASSANDRA_PASSWORD=cassandra
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  1. docker

参照官方文档:https://cassandra.apache.org/_/quickstart.html

# GET CASSANDRA USING DOCKER
docker pull cassandra:latest

# START CASSANDRA
docker network create cassandra
docker run --rm -d --name cassandra --hostname cassandra --network cassandra cassandra
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6


感谢阅读
END

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/126342
推荐阅读
相关标签
  

闽ICP备14008679号