This is a set of scripts to make zookepeer rpm package for CentOS/RedHat 7 and now also RHEL 9. RHEL 9 build runs with Java 17. Logback logging is now used.
sudo yum install make rpmdevtools wget
make rpm
Resulting RPM will be avaliable at $(shell pwd)/noarch/
sudo yum install zookeeper*.rpm
sudo systemctl enable zookeeper
sudo systemctl start zookeeper
Zookeeper shell is available via zkcli.
archives: /usr/share/java/zookeeper data: /var/lib/zookeeper logs: /var/log/zookeeper configs: /etc/zookeeper, /etc/sysconfig/zookeeper