Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: VPS Setup

Install Apache ZooKeeper—a distributed coordination service—on an Ubuntu VPS—install Java:
apt install openjdk-11-jre
download ZooKeeper extract to /opt/zookeeper configure /opt/zookeeper/conf/zoo cfg:
tickTime=2000\ndataDir=/var/lib/zookeeper
Start with
/opt/zookeeper/bin/zkServer.sh start
open port:
ufw allow 2181
On Vultr test with
/opt/zookeeper/bin/zkCli.sh -server ip:2181
Ensures uptime—coordinates phpMyAdmin tasks in VPS hosting

Back to All Tips