- Published on
apache Zookeeper Build 방법 (Ubuntu 22.04)
- Authors
- Name
Overview
apache Zookeeper 를 ubuntu에서 Build하는 방법을 알아본다.
build 준비 (ubunut)
sudo apt-get install libcppunit-dev
sudo apt-get install python-setuptools python2.7-dev
sudo apt-get install openssl libssl-dev
sudo apt-get install libsasl2-modules-gssapi-mit libsasl2-modules libsasl2-dev
Build zookeeper
git clone https://github.com/apache/zookeeper.git
cd zookeeper
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 mvn clean install -DskipTests
Zookeeper Check
zookeeper/zookeeper-assembly/target
폴더에 보면, zookeeper 소스를 빌드하여 나온 결과물인 tar.gz 파일을 확인할 수 있다.
zookeeper/zookeeper-assembly/target
zookeeper/zookeeper-assembly/target$ ls
antrun apache-zookeeper-3.9.0-SNAPSHOT-bin.tar.gz apache-zookeeper-3.9.0-SNAPSHOT-bin.tar.gz.sha512 archive-tmp