Zookeeper Ubuntu 18.10 Install - Setup
-
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
To check your current JDK version:
javac --version && java -XshowSettings:properties -version 2>&1 | grep 'java.vendor'
If it’s the official Oracle JDK, the output will include:
java.vendor = Oracle Corporation
. -
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!
Contents