In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1.zookeeper requires a java environment to run, so JDK must be installed first.
two。 Download, decompress
# wget http://mirrors.hust.edu.cn/apache/zookeeper/zookeeper-3.4.12/zookeeper-3.4.12.tar.gz#tar-zxvf zookeeper-3.4.12.tar.gz
3. Select the installation directory for the file, then enter conf, copy zoo_sample.cfg and rename it to zoo.cfg.
# cp zoo_sample.cfg zoo.cfg
4. Edit zoo.cfg and add 2 directories to the root directory
# vi zoo.cfg
# mkdir data
# mkdir logs
5. You must enter the bin directory to enter the following to start the program
# start zkServer.sh start
# zkServer.sh status View status
# zkServer.sh stop stop / close
6. To enter the command without entering the bin directory, add the following environment variable to the / etc/profile configuration file
Summary
The above is the editor to introduce to you the installation of zookeeper on linux startup and shutdown, I hope to help you, if you have any questions, please leave me a message, the editor will reply to you in time. Thank you very much for your support to the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.