Created
June 18, 2023 15:38
-
-
Save tzach/a77546cf2f3003de4b1958dc87b2e253 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Scylla | |
docker cp some-scylla:/etc/scylla/scylla.yaml . | |
// update scylla.yaml | |
authenticator: PasswordAuthenticator | |
authorizer: CassandraAuthorizer | |
docker cp scylla.yaml some-scylla:/etc/scylla/scylla.yaml | |
docker exec -it some-scylla supervisorctl restart scylla | |
docker exec -it some-scylla cqlsh -u cassandra -p cassandra | |
## Cassandra | |
docker run --name some-cassandra -d cassandra:4.1 | |
docker cp some-cassandra:/etc/cassandra/cassandra.yaml . | |
// Update cassandra.yaml | |
authenticator: PasswordAuthenticator | |
authorizer: CassandraAuthorizer | |
docker cp cassandra.yaml some-cassandra:/etc/cassandra/cassandra.yaml | |
docker restart some-cassandra | |
docker exec -it some-cassandra cqlsh -u cassandra -p cassandra |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment