官方下载地址: https://storm.apache.org/downloads.html
官方下载 apache-storm-1.2.2.tar.gz
解压
tar -zxvf apache-storm-1.2.2.tar.gz
先启动zookeeper
cd zookeeper-3.4.12
./bin/zkServer.sh start
#查看状态
./bin/zkServer.sh status
cd apache-storm-1.2.2
mkdir data
配置zookeeper地址等信息
vim conf/storm.yaml
storm.zookeeper.servers:
- "127.0.0.1"
storm.local.dir: "/Users/liang/software/apache-storm-1.2.2/data"
nimbus.host: "127.0.0.1"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
ui.port: 8081
bin/storm nimbus 启动Nimbus
nohup bin/storm nimbus >> /dev/null & 后台启动
bin/storm supervisor 启动Supervisor
nohup bin/storm supervisor >> /dev/null & 后台启动
bin/storm ui 启动ui
nohup bin/storm ui >> /dev/null & 后台启动
访问ui: http://127.0.0.1:8081/index.html
参考链接:
https://www.cnblogs.com/freeweb/p/5234139.html
https://www.cnblogs.com/senlinyang/p/7832324.html
https://www.cnblogs.com/zhaojiankai/p/7257617.html
https://www.cnblogs.com/quchunhui/p/5370191.html
https://www.w3cschool.cn/apache_storm/apache_storm_installation.html
https://www.jianshu.com/p/74199e8a80f2
https://www.kubernetes.org.cn/doc-38
https://www.cnblogs.com/freeweb/p/5242631.html
https://www.cnblogs.com/freeweb/p/5242099.html