从零学习storm(一) 环境的安装配置
1.首先 安装zookeeper
2.安装Java环境
3.安装Python
下载python包,编译安装
1.解压
2.configure
3.make
4make install
4.Storm集群的安装部署
1)上传文件解压
在 conf/storm.yaml 进行相关配置 (配置文件格式一定注意 这个是很坑爹)
storm.zookeeper.servers:
- "bigdata1"
- "bigdata2"
- "bigdata3"
nimbus.host : "bigdata1"
storm.local.dir : "/opt/app/apache-storm-0.9.6/status"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
2)将bigdata1的storm 拷贝到 bigdata2 bigdata3
scp -r apache-storm-0.9.6 bigdata2:/opt/app/
scp -r apache-storm-0.9.6 bigdata3:/opt/app/
3)启动storm
启动ui storm ui & (后台启动) (storm ui >/dev/null 2>&1 &)
启动nimbus storm nimbus
启动supervisor storm supervisor
通过ui查看(http://bigdata1:8080/index.html)
![](https://images2015.cnblogs.com/blog/611961/201602/611961-20160205175717038-24027987.png)