In Chapter 2, Configuring Storm Clusters, we covered the manual installation of Storm and its dependencies on Ubuntu Linux. We can leverage the commands we used in Chapter 2, Configuring Storm Clusters, by using them to create Vagrant provisioning scripts to automate what would otherwise be a manual process. If you don't understand some of the commands used in the provisioning scripts, refer to Chapter 2, Configuring Storm Clusters, for a more in-depth explanation.
ZooKeeper is available pre-packaged for most Linux platforms, which makes our installation script simple, letting the package manager do most of the work. The following is the command line to install ZooKeeper:
install-zookeeper.sh
And the commands to install ZooKeeper are as follows:
apt-get update apt-get --yes install zookeeper=3.3.5* zookeeperd=3.3.5*