-
下载任意版本安装包
http://apache.fayea.com/storm -
放到指定目录下解压
$ tar -xvzf apache-storm-1.x.x.tar.gz
- 配置环境变量
export STORM_HOME=xxxx/apache-storm-x.x.x
export PATH=$STORM_HOME/bin:$PATH
- 修改
conf/storm.yaml
storm.zookeeper.servers:
- "127.0.0.1:"
#
# nimbus.seeds: ["host1","host2","host3"]
nimbus.host:"127.0.0.1"
storm.zookeeper.port: 2181
storm.local.dir: "xxxx/apache-storm-1.x.x"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
- 启动storm
$ storm nimbus &
$ storm supervisor &
$ storm ui &
- 查看WebUI
http://127.0.0.1:8080/index.html
网友评论