Sharing the steps of setting up Zookeeper management Center under Linux
- 2020-08-22 23:20:40
- OfStack
Recently when doing appropriate cubic mall project requires the use of dubbo - Zookeeper service builds a SOA service architecture, although in Windows environment also can start Zookeeper service, but as a building service not 2 choices, use Linux server setup Zookeeper services is more appropriate, today we in Linux environment to build a distributed service based on Zookeeper registry.
Set up environmental requirements
Virtual machine (the following is the installation software and registration machine for Virtual Machine 9)
Link: https: / / pan. baidu. com s / 1 c2YbZ92 password: jyya
centos System (CentOS System Download)
Link: https: / / pan. baidu. com s / 1 kVVfTtH password: peaa
Zookeeper-3.4.6 (download the corresponding version below)
Link: https: / / pan. baidu. com s / 1 oAmQUVo password: shvv
Install the virtual machine (virtual machine installation tutorial is provided below)
Link: https: / / pan. baidu. com s / 1 bpPW60f password: t9nt
Install CentOS under the virtual machine (here are the steps to install CentOS under the virtual machine)
Link: https: / / pan. baidu. com s / 1 kXmre43 password: 6 p76
Install Zookeeper based on CentOS
Install SecureCRT
Since the first step is to move the Zookeeper package to Linux, the first step is to use SecureCRT.
SecureCRT install software download link: https: / / pan baidu. com s / 1 rat81IW password: 9 rqu
SecureCRT cracking tutorial
Link: https: / / pan. baidu. com s / 1 ggYSeDt password: szx5
Use SecureCRT to move the Zookeeper installation package to the Linux environment
Install Zookeeper under Linux and boot up
Step 1: Install jdk
Step 2: Upload the zookeeper compression package to the linux system.
Step 3: Unzip the compression package ES147en-ES148en ES149en-3.4.6. tar.gz
Step 4: Go to the zookeeper-3.4.6 directory and create the data folder.
Step 5: Rename zoo_ES161en.cfg to ES163en.cfg
[root@localhost conf]# mv zoo_sample.cfg zoo.cfg
Step 6: Modify the data attribute: dataDir=/root/ ES173en-3.4.6 /data
Step 7: Start zookeeper
[root@localhost bin]# ./zkServer.sh start
Closed: [root @localhost bin]#./ zkServer. sh stop
View status: [root @localhost bin]#./zkServer.sh status
The above is the content of the Zookeeper management center under Linux organized by this site. If you have any questions, please discuss them in the comments section below.