Make these changes in the cassandra.yaml
config file:
start_rpc: true
rpc_address: 0.0.0.0
broadcast_rpc_address: 1.2.3.4
listen_address: [node-ip]
python3 -m venv env-id | |
source env-id/bin/activate #요 부분이 21년 자료랑 약가 다름? |
gcloud container clusters create k8s \ | |
--cluster-version 1.27.2-gke.1200 \ | |
--zone asia-northeast3-a \ | |
--num-nodes 3 \ | |
--machine-type n1-standard-4 \ | |
--enable-network-policy \ | |
--enable-vertical-pod-autoscaling |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install build-essential -y | |
sudo apt-get install openjdk-20-jdk -y | |
sudo apt-get install python3 python3-pip python-is-python3 -y | |
sudo apt-get install golang-go -y | |
sudo apt-get install net-tools | |
sudo apt-get install ucommon-utils |
FROM rockylinux:9.2 | |
WORKDIR /app | |
RUN dnf update -y && dnf install -y \ | |
python3 \ | |
python3-devel \ | |
gcc \ | |
openssl-devel \ | |
libffi-devel \ |
seq <개수> | xargs -I % 명령어 <file명_넘버링은 %>.<식별자> |
Make these changes in the cassandra.yaml
config file:
start_rpc: true
rpc_address: 0.0.0.0
broadcast_rpc_address: 1.2.3.4
listen_address: [node-ip]
#include <stdio.h> | |
#include <stdlib.h> | |
#define assert(expr) do { \ | |
if (!(expr)) { \ | |
fprintf(stderr, "Assertion failed: %s:%d: %s\n", __FILE__, __LINE__, #expr); \ | |
exit(EXIT_FAILURE); \ | |
} \ | |
} while(0) |