How to Install Zookeeper on Ubuntu 18.04 Bionic Linux Easy Guide

April 15, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Zookeeper Ubuntu 18.04 Install - Setup

  1. Relocating the Zookeeper Folder

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

    Install Oracle JDK for Ubuntu
  3. 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!


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