storm安装

  1. 下载安装包
    前往官网下载安装包apache-storm-1.2.2.tar.gz http://storm.apache.org/
  2. 启动Zookeeper
  3. 配置strom.yaml
    可以根据官网的默认yaml文件配置,地址为:https://github.com/apache/storm/blob/v1.2.2/conf/defaults.yaml
    strom.yaml

storm.local.dir: “/var/lib/storm”
storm.zookeeper.servers:
- “192.168.81.101”
- “192.168.81.102”
- “192.168.81.103”
nimbus.seeds : [“192.168.81.101”]
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
ui.host: 0.0.0.0
ui.port: 8080

  1. 启动
    启动nimbus:bin/storm nimbus &
    启动supervisor:bin/storm supervisor &
    启动ui:/storm ui &(http://192.168.81.101:8080)

你可能感兴趣的:(storm)