How-to Install Zookeeper on Ubuntu 17.10 Artful Linux Easy Guide

November 18, 2017 | By thelinuxevangelist | Filed in: Tutorial.

Install Zookeeper Ubuntu 17.10 Artful

Welcome Ubuntu User! The Tutorial Shows You Step-by-step How-to Install Apache Zookeeper in Ubuntu 17.10 Artful Aardvark 32/64-bit GNU/Linux.

The Apache Zookeeper Setup for Ubuntu 17.10 Artful 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 17.10 Artful - Featured
  1. Download Apache Zookeeper for Linux:

    Apache Zookeeper tar.gz
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Install Zookeeper on Ubuntu 17.10 Artful - Featured
  3. Double-Click on Archive Extract into /tmp

    Install Zookeeper on Ubuntu 17.10 Artful - 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


    export JVMFLAGS="-Xmx1500m"

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


    To Load the New SetUp!

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

    Zookeeper Quick-Start on Linux

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