Installing zookeeper under CentOS

Source: Internet
Author: User
Tags zookeeper

1. Login to CentOS online download Zookeeper source package
Here is the download command to download the zookeeper package to the current directory on your local environment

wget http://mirrors.hust.edu.cn/apache/zookeeper/zookeeper-3.5.0-alpha/zookeeper-3.5.0-alpha.tar.gz

Note that the link above me is directly from the remote official link, if invalid, please replace the corresponding available source package address.

2, unzip to the current directory, and modify the parameters

tar -zxvf zookeeper-3.5.0-alpha.tar.gz [root@iZ23j7s7ouqZ ~]# cd zookeeper-3.5.0-alpha[root@iZ23j7s7ouqZ zookeeper-3.5.0-alpha]# cd conf/[root@iZ23j7s7ouqZ conf]# lsconfiguration.xsl  log4j.properties  zoo_sample.cfg[root@iZ23j7s7ouqZ conf]# mv zoo_sample.cfg zoo.cfg[root@iZ23j7s7ouqZ conf]# 

To the Conf directory, modify the zoo_sample.cfg to Zoo.cfg

3. Start Zookeeper Server

start

Go to the Bin directory of zookeeper, execute the above command, and you can see

JMX enabled by default
Using config:/root/zookeeper-3.5.0-alpha/bin/. /conf/zoo.cfg
Starting zookeeper ... STARTED

Indicates that the execution was successful.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Installing zookeeper under CentOS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.