zookeeper (-)Max下安装
2016-04-21 16:00
204 查看
Mac 上查看zookeeper
$ brew info zookeeper zookeeper: stable 3.4.8 (bottled), HEAD Centralized server for distributed coordination of services https://zookeeper.apache.org/ Not installed From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/zookeeper.rb ==> Options --with-perl Build Perl bindings --with-python Build with python support --HEAD Install HEAD version ==> Caveats To have launchd start zookeeper at login: ln -sfv /usr/local/opt/zookeeper/*.plist ~/Library/LaunchAgents Then to load zookeeper now: launchctl load ~/Library/LaunchAgents/homebrew.mxcl.zookeeper.plist Or, if you don't want/need launchctl, you can just run: zkServer start
安装
$ brew install zookeeper ==> Downloading https://homebrew.bintray.com/bottles/zookeeper-3.4.8.yosemite.bottle.tar.gz ######################################################################## 100.0% ==> Pouring zookeeper-3.4.8.yosemite.bottle.tar.gz ==> Caveats To have launchd start zookeeper at login: ln -sfv /usr/local/opt/zookeeper/*.plist ~/Library/LaunchAgents Then to load zookeeper now: launchctl load ~/Library/LaunchAgents/homebrew.mxcl.zookeeper.plist Or, if you don't want/need launchctl, you can just run: zkServer start ==> Summary �� /usr/local/Cellar/zookeeper/3.4.8: 237 files, 17.6M' $ cd /usr/local/Cellar/zookeeper/3.4.8 $ ls CHANGES.txt LICENSE.txt README.txt homebrew.mxcl.zookeeper.plist lib INSTALL_RECEIPT.json NOTICE.txt bin include libexec
安装成功,进入 /usr/local/Cellar/zookeeper目录即可查看到,已经有了缺省的配置文件。
启动服务
# 启动 $ zkServer start ZooKeeper JMX enabled by default Using config: /usr/local/etc/zookeeper/zoo.cfg Starting zookeeper ... STARTED # 查看状态 $ zkServer status ZooKeeper JMX enabled by default Using config: /usr/local/etc/zookeeper/zoo.cfg Mode: standalone # 查看运行状态 $ zkCli Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled [zk: localhost:2181(CONNECTING) 0] WATCHER::
相关文章推荐
- Shell脚本实现自动安装zookeeper
- 基于Zookeeper的使用详解
- mesos + marathon + docker部署
- 基于zk的配置管理
- 搭建分布式架构4--ZooKeeper注册中心安装
- 搭建分布式架构5--ZooKeeper 集群的安装 3ff0
- SolrCloud4.9+zookeeper在CentOS上的搭建与安装
- 基于外部ZooKeeper的GlusterFS作为分布式文件系统的完全分布式HBase集群安装指南
- Storm集群的搭建
- Zookeeper配置项说明
- redis集群搭建
- 使用 RMI + ZooKeeper 实现远程调用框架
- 轻量级分布式 RPC 框架
- 整合Kafka到Spark Streaming——代码示例和挑战
- HBase 系统架构
- 使用zookeeper实现分布式共享锁
- 将Zookeeper集成到你的应用中
- 基于zookeeper+leveldb搭建activemq集群
- Fourinone四合一分布式计算框架整体介绍
- Dubbo与Zookeeper、SpringMVC整合和使用