2024. 8. 7. 13:07ㆍ클라우드
1. Java 설치: Kafka는 Java로 작성되었기 때문에 Java가 필요함
OpenJDK를 설치
$ sudo apt update
$ sudo apt install openjdk-11-jre-headless
java 설치가 되었는지 확인
$ java -version
https://www.apache.org/dyn/closer.cgi?path=/kafka/3.6.0/kafka_2.13-3.6.0.tgz
Apache Download Mirrors
The requested file or directory is not on the mirrors. The object is in our archive : https://archive.apache.org/dist/kafka/3.6.0/kafka_2.13-3.6.0.tgz Verify the integrity of the files It is essential that you verify the integrity of the downloaded file us
www.apache.org
위 사이트에서 카프카 다운로드
- 카프카 설치
$ wget https://archive.apache.org/dist/kafka/3.6.0/kafka_2.13-3.6.0.tgz
$ tar -xzf kafka_2.13-3.6.0.tgz
- 카프카 실행
$ cd kafka_2.13-3.6.0
$ bin/kafka-server-start.sh config/server.properties
- 카프카 설치 확인
$ bin/kafka-topics.sh --version
3.6.0 버전 확인
'클라우드' 카테고리의 다른 글
GCP 예산 알림 설정 (0) | 2024.05.23 |
---|---|
방통대 클라우드 컴퓨팅 연습문제 (2) | 2023.12.08 |
방통대 클라우드 컴퓨팅 연습문제 2 (1) | 2023.12.08 |
방통대 클라우드 컴퓨팅 연습문제 1 (3) | 2023.12.08 |