Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 700 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 700 Bytes

zookeeper-redhat7-rpm

A set of scripts to package zookeeper into an rpm. Requires CentOS/RedHat 7.

Setup

sudo yum install make rpmdevtools

Building

make rpm

Resulting RPM will be avaliable at $(shell pwd)/x86_64

Installing and operating

sudo yum install zookeeper*.rpm
sudo systemctl start zookeeper
sudo systemctl enable zookeeper

Zookeeper shell is available via /usr/local/bin/zkcli or just zkcli since /usr/local/bin is usually in the $PATH.

Default locations

binaries: /opt/zookeeper
data: /var/lib/zookeeper
logs: /var/log/zookeeper
configs: /etc/zookeeper, /etc/sysconfig/zookeeper