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