How to Install Zookeeper on Ubuntu 18.10 Cosmic Linux Easy Guide

October 17, 2018 | By the+gnu+linux+evangelist.

Zookeeper Ubuntu 18.10 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!


QuickChic Theme • Powered by WordPress