In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to build a Zookeeper management center in Linux", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "how to build a Zookeeper management center in Linux" this article.
Recently, when doing the Icube Mall project, we asked to use dubbo-Zookeeper services to build a SOA service architecture. Although we can also start Zookeeper services in the Windows environment, as the only choice for building services, it is undoubtedly more appropriate to use Linux servers to build Zookeeper services. Today, we will build a Zookeeper-based distributed service registry in the Linux environment.
Building environmental requirements
Virtual machine (the following is the installation software and registration machine of virtual machine 9)
Link: https://pan.baidu.com/s/1c2YbZ92 password: jyya
Centos system (CentOS system download)
Link: https://pan.baidu.com/s/1kVVfTtH password: peaa
Zookeeper-3.4.6 (the following is the corresponding version download)
Link: https://pan.baidu.com/s/1oAmQUVo password: shvv
Install virtual machines (virtual machine installation tutorials are provided below)
Link: https://pan.baidu.com/s/1bpPW60f password: t9nt
Install CentOS under the virtual machine (the following are the steps to install CentOS under the virtual machine)
Link: https://pan.baidu.com/s/1kXmre43 password: 6p76
Install Zookeeper based on CentOS environment
Install SecureCRT
Because first of all, we want to move the compressed package of Zookeeper to the Linux environment, first we have to use the software SecureCRT to implement it.
Download SecureCRT installation software: link: https://pan.baidu.com/s/1rat81IW password: 9rqu
SecureCRT cracking tutorial
Link: https://pan.baidu.com/s/1ggYSeDt password: szx5
Use SecureCRT to move the Zookeeper installation package to the Linux environment
Install Zookeeper and start it under Linux
Step 1: install jdk
Step 2: upload the compressed package of zookeeper to the linux system.
Step 3: extract the compressed package tar-zxvf zookeeper-3.4.6.tar.gz
Step 4: go to the zookeeper-3.4.6 directory and create a data folder.
Step 5: rename zoo_sample.cfg to zoo.cfg
[root@localhost conf] # mv zoo_sample.cfg zoo.cfg
Step 6: modify the data property: dataDir=/root/zookeeper-3.4.6/data
Step 7: start zookeeper
[root@localhost bin] #. / zkServer.sh start
Close: [root@localhost bin] #. / zkServer.sh stop
Check status: [root@localhost bin] #. / zkServer.sh status
These are all the contents of the article "how to build a Zookeeper Management Center in Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.