标签:exp jdk1.7 环境变量 pat set 解压缩 profile cat stat
环境变量地址:/etc/profile
#set java environment
JAVA_HOME=/usr/local/src/java/jdk1.7.0_71
CLASSPATH=.:$JAVA_HOME/lib.tools.jar
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME CLASSPATH PATH
source /etc/profile
修改confg/zoo.cfg中
dataDir=/root/zookeeper-3.4.6/data
./zkServer.sh start
//开启
./zkServer.sh stop
//关闭
./zkServer.sh status
//状态
./startup.sh
//启动
./shutdown.sh
//关闭
tail -f ../logs/catalina.out
//查看日志
centos7部署 jdk,tomcat,zookeeper
标签:exp jdk1.7 环境变量 pat set 解压缩 profile cat stat
原文地址:https://www.cnblogs.com/-saligia-/p/9748189.html