c语言sscanf函数的用法是什么
234
2022-10-20
基础镜像-Zookeeper
FROM test.com/jdk:1.8u162MAINTAINER hush
#!/bin/bashZOO_CONFIG="/data/zookeeper-3.4.11/conf/zoo.cfg"# Output server IDecho "server id (myid): ${SERVER_ID}"echo "${SERVER_ID}" > /data/zookeeper/myid# Add additional ZooKeeper servers into the zoo.cfg fileecho "${ADDITIONAL_ZOOKEEPER_1}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_2}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_3}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_4}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_5}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_6}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_7}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_8}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_9}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_10}" >> ${ZOO_CONFIG}echo "${ADDITIONAL_ZOOKEEPER_11}" >> ${ZOO_CONFIG}# Start Zookeeperexec /data/zookeeper-3.4.11/bin/zkServer.sh start-foreground
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~