storm入门安装

1.下载安装包

wget http://mirror.bit.edu.cn/apache/storm/apache-storm-1.0.3/apache-storm-1.0.3.tar.gz

2.安装

tar -zxvf /FULL-PATH-STORM/apache-storm-1.0.3.tar.gz
cd apache-storm-1.0.3
cd conf

修改storm.yarm文件

#zk节点
storm.zookeeper.servers:
 - "192.168.0.77"

storm.local.dir: "/data/real-time-frame/storm-1.1.0/storm-data"

supervisor.slots.ports:
 - 6700
 - 6701
 - 6702
 - 6703

nimbus.seeds: ["192.168.0.77"]

3.启动服务

bin/storm nimbus &
bin/storm supervios &
bin/storm ui &

启动完成后,可以访问ip+端口,查看storm的web页面,默认端口号8080
通过jps命令可以查看启动了那些

![Upload Paste_Image.png failed. Please try again.]

你可能感兴趣的:(storm入门安装)