Install Zookeeper Ubuntu 17.10 Artful
Hi! This tutorial will guide you step-by-step on How to Install Apache Zookeeper in Ubuntu 17.10 Artful Aardvark GNU/Linux.
The Apache Zookeeper Setup for Ubuntu 17.10 Artful Require the Oracle Java JDK 8+ Installation Ubuntu.
Moreover, 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.
-
Download Apache Zookeeper for Linux
-
Open Terminal Window
Ctrl+Alt+t
(Press “Enter” to Execute Commands) -
Double-Click on Archive Extract into /tmp
Or from Command Line:
tar xvzf zookeeper*.tar.gz -C /tmp/
-
Relocating the Zookeeper Folder
sudo su -c "chown -R root:root /tmp/zookeeper*"
sudo su -c "mv /tmp/zookeeper* /opt/zookeeper"
-
How to Install Required Oracle Java JDK on Ubuntu
-
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!
-
How to Quick Start with Zookeeper Server/Client