Method of starting zookeeper -3.3.6: Download and install the server environment with zookeeper-Create file-Set permissions-Edit-Restart.
Specific steps:
1. Log in to the linux server and use the cd command to switch to the /etc/rc.d/init.d/ directory.
Next, touch zookeeper to create a file.
Third, add the executable right chmod +x zookeeper to the file.
Fourth, use vi zookeeper to edit this file.
5. Enter the following in zookeeper.
Sixth, save and exit.
Seven, use the service zookeeper start/stop to start and stop the zookeeper service.
Eight, use chkconfig-add zookeeper command to add zookeeper to boot.
Use chkconfig-list to see if the added zookeeper is in it.
Ten, restart.