How-to Install Zookeeper on Ubuntu 18.04 Bionic Linux Easy Guide

April 15th, 2018 by thelinuxevangelist

Install Zookeeper Ubuntu 18.04 Bionic

Welcome Ubuntu User! This Tutorial Shows You Step-by-step How-to Install Apache Zookeeper in Ubuntu 18.04 Bionic LTS 32/64-bit GNU/Linux.

The Apache Zookeeper Setup for Ubuntu 18.04 Bionic Require the Oracle Java JDK 8+ Installation Ubuntu.

Furthermore Apache ZooKeeper allows distributed processes to coordinate with each other through a shared hierarchical name space of data registers (we call these registers znodes), much like a file system.

But Unlike normal file systems ZooKeeper provides its Clients with High Throughput, Low Latency, Highly Available, Strictly Ordered Access to the znodes.

Install Zookeeper on Ubuntu 18.04 Bionic - Featured
  1. Open a Terminal Shell emulator window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    Install Zookeeper on Ubuntu 18.04 Bionic - Open Terminal Shell Emulator
  2. Download Apache Zookeeper for Linux:

    Apache Zookeeper tar.gz
  3. Double-Click on Archive Extract into /tmp

    Install Zookeeper on Ubuntu 18.04 Bionic - Archive Extraction

    Or from Command Line:

    tar xvzf zookeeper*.tar.gz -C /tmp/
  4. Relocating the Zookeeper Folder

    sudo su -c "chown -R root:root /tmp/zookeeper*"
    sudo su -c "mv /tmp/zookeeper* /opt/zookeeper"
  5. How-to Install Required Oracle Java JDK on Ubuntu:

    Install Oracle JDK for Ubuntu
  6. Setting Up the Java Heap Memory Size
    A Good Value is about 75% of RAM.
    So let’s go Editing the Bash Config File:

    nano $HOME/.bashrc

    Append:

    export JVMFLAGS="-Xmx1500m"

    Set Size with ‘m’ postfix for Megabites and ‘g’ for Gigabites.
    Ctrl+x to Save & Exit from nano Editor :)

    bash

    To Load the New SetUp!

  7. How-to Quick-Start with Zookeeper Server/Client:

    Zookeeper Quick-Start on Linux

Tags: , , , , , , , , , , , , , , , , , , , , ,