Zookeeper deploying to Linux operation steps

Source: Internet
Author: User
Tags zookeeper

Installing zookeeper
1. Upload
Upload Zookeeper, before \01 class data \02 technical data
2. Mobile
[Email protected] ~]# MV zookeeper-3.4.6.tar.gz/usr/local/
[Email protected] ~]# cd/usr/local/

3. Unzip
[Email protected] local]# TAR-ZXVF zookeeper-3.4.6.tar.gz

4. Configuration files
[Email protected] local]# CD zookeeper-3.4.6
[Email protected] zookeeper-3.4.6]# mkdir data
[Email protected] zookeeper-3.4.6]# CD conf
[email protected] conf]# CP zoo_sample.cfg ZOO.CFG
[Email protected] conf]# vim zoo.cfg
# The directory where the snapshot is stored.
# do not use/tmp for storage,/tmp here are just
# example Sakes.
Datadir=/usr/local/zookeeper-3.4.6/data

5. Start
[Email protected] conf]# CD.
[Email protected] zookeeper-3.4.6]# CD bin/
[[email protected] bin]#./zkserver.sh start
JMX enabled by default
Using config:/usr/local/zookeeper-3.4.6/bin/. /conf/zoo.cfg
Starting zookeeper ... STARTED
[Email protected] bin]#./zkserver.sh status


Monitor Monitoring Center
1. Move and unzip Tomcat into the/usr/local/directory
MV apache-tomcat-7.0.57.tar.gz/usr/local/
cd/usr/local/
MV Dubbo-admin-2.5.4.war/usr/local/apache-tomcat-7.0.57/webapps
Cd/usr/local/apache-tomcat-7.0.57/webapps

2. Rename the Dubbo-admin-2.5.4.war and enter the Tomcat directory to modify the port number
MV Dubbo-admin-2.5.4.war Dubbo.war
Vim Conf/server.xml
ESC exit Edit: Wq Save Write

3. Launch Tomcat into the Tomcat bin directory
./startup.sh
tail-100f. /logs/catalina.out

4. Delete Dubbo.war
Cd/usr/local/apache-tomcat-7.0.57/webapps
RM-RF Dubbo.war

Zookeeper deploying to Linux operation steps

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.