1、将文件解压到/usr/local 

[root@localhost src]# tar -zxvf /usr/local/src/apache-storm-0.9.2-incubating.tar.gz -C /usr/local/

  2、修改配置文件 storm.yaml

[root@localhost local]# vim /usr/local/apache-storm-0.9.2-incubating/conf/storm.yaml

  配置Zookeeper和nimbus地址

storm.zookeeper.servers:
     - "192.168.7.151"
     - "192.168.7.152"
     - "192.168.7.153"
 
 nimbus.host: "192.168.7.151"

  如下图所示:

(02)单机安装配置Storm

  3、启动Zookeeper集群

  参考安装zookeeper集群

  4、一次启动nimbus、supervisor、ui

[root@localhost apache-storm-0.9.2-incubating]# bin/storm nimbus &
[root@localhost apache-storm-0.9.2-incubating]# bin/storm supervisor &
[root@localhost apache-storm-0.9.2-incubating]# bin/storm ui &

  启动成功如下图所示:

(02)单机安装配置Storm

   core对应的进程时ui

  5、浏览器客户端ui访问:http://192.168.7.151:8080/index.html

  如下图所示:

(02)单机安装配置Storm

 

 

 

 

 

 

 

 

 

 

 

相关文章:

  • 2021-06-04
  • 2021-08-22
  • 2021-08-28
  • 2021-07-26
  • 2021-07-12
  • 2022-12-23
  • 2021-09-16
  • 2021-07-25
猜你喜欢
  • 2022-03-01
  • 2022-02-25
  • 2021-04-17
  • 2021-05-22
  • 2021-12-27
  • 2021-06-03
相关资源
相似解决方案