Perform the following steps to configure ZooKeeper:
- Type cd /etc /mesos.
- Open the vi zk file. The following screenshot shows the default Mesos definition. This is the default ZooKeeper information. The line starts with zk and ends with /mesos, and in between, we will have the IP address and the ZooKeeper port:
- Replace this localhost with the host IP address by typing ifconfig in order to get the IP. As we have a standalone server, we will use the IP address that is highlighted here:
- Go to cd /etc /mesos and run ...