摘要:
http://www.cnblogs.com/mq0036/p/4995390.html List<String> children = zkClient.getChildren("/", true);| 其中ctrl+1是在只写了zkClient.getChildren("/", true);|将 阅读全文
posted @ 2017-05-13 16:49
牵牛花
阅读(191)
评论(0)
推荐(0)
摘要:
#!/bin/shecho "start zkServer"for i in 2 3 4dossh mini$i "source /etc/profile;/usr/local/zookeeper/zookeeper-3.4.6/bin/zkServer.sh start"done mini$i 代 阅读全文
posted @ 2017-05-13 15:59
牵牛花
阅读(848)
评论(0)
推荐(0)
摘要:
source会把定义在脚本文件中的变量放在当前shell中 export会把变量放在他所在的shell进程以及子进程shell中 子shell进程可以访问父shell进程的export 声明的变量,但是父shell进程不能访问子shell进程中的用export声明的变量(解决办法是用source) 阅读全文
posted @ 2017-05-13 15:32
牵牛花
阅读(155)
评论(0)
推荐(0)

浙公网安备 33010602011771号