爱嘉牛LA

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

一.安装storm 

下载storm http://storm.apache.org/downloads.html

export STORM_HOME=/Users/huangjiahong/Documents/apache/apache-storm-0.10.0

二.安装zookeeper

下载zookeeper http://mirror.bit.edu.cn/apache/zookeeper/

1.加入到系统环境变量中

export ZOOKEEPER_HOME=/Users/huangjiahong/Documents/apache/zookeeper-3.4.63

export PATH=$PATH:$STORM_HOME/bin:$ZOOKEEPER_HOME/bin

source /etc/profile

2.进入zookeeper的conf目录:

cp zoo_sample.cfg zoo.cfg

3.启动zookeeper

bin/zkServer.sh start

4.查看zookeeper的运行状态

bin/zkServer.sh status
---------------
JMX enabled by default
Using config: /Users/huangjiahong/Documents/apache/zookeeper-3.4.6/bin/../conf/zoo.cfg
Mode: standalone

5.启动storm

storm nimbus&
storm supervisor&
storm ui&

6.查看storm界面 

http://localhost:8080

7.安装kafka参照

http://www.cnblogs.com/super-d2/p/4534323.html

posted on 2016-02-08 15:29  爱嘉牛LA  阅读(1190)  评论(0编辑  收藏  举报