Install Zookeeper on Ubuntu 20.04

Posted by : at

Category :


Apache Zookeeper is required to support a number of software packages. In order to use my homelab I run this locally in the foreground to allow me to check each component - I know that I could just as easily do this in k8s but I like to turn components on and off as required - which I know that I could do in k8s.

This procedure assumes a working install of Ubuntu 20.04 with Java installed.

To install and run Zookeeper execute the following commands:

wget https://dlcdn.apache.org/zookeeper/zookeeper-3.8.0/apache-zookeeper-3.8.0-bin.tar.gz
tar xfvz apache-zookeeper-3.8.0-bin.tar.gz
ln -s apache-zookeeper-3.8.0-bin zookeeper
cd zookeeper
cp conf/zoo_sample.cfg conf/zoo.cfg
bin/zkServer.sh start-foreground

This should then start cleanly.


About Michael Ransley
Michael Ransley

Hi, I am a Husband, Father of 3 children and Principal Data Engineer at Origin Energy. I am interested in many things - but technology is certainly one of them - both how to solve particular issues but also the effects that technology has on our society.

Website : https://michael.ransley.co

Categories
Useful Links