- You will find the ZooKeeper directory in the 3rdparty subdirectory of the Mesos source directory. We recommend copying this directory to the location that you would like to run ZooKeeper, such as /usr/local or /opt, and then change into that directory. For example:
$ sudo cp -a ~/mesos-1.1.0/build/3rdparty/zookeeper-3.4.8 /usr/local/$ sudo chown -R root.root /usr/local/zookeeper-3.4.8/$ cd /usr/local/zookeeper-3.4.8/
- Copy the zoo_sample.cfg file in the conf subdirectory of the zookeeper directory and create a zoo.cfg file in the same directory:
$ sudo cp conf/zoo_sample.cfg conf/zoo.cfg
- The source installation uses /var/lib/zookeeper/ as the location for the myid file. Create the /var/lib/zookeeper ...