1、所需软件:

jdk8、zookeeper、storm

 

2、安装zookeeper单机版

下载:http://zookeeper.apache.org/releases.html#download

环境变量:

export ZOOKEEPER_HOME=/usr/local/zookeeper-3.4.13
export PATH=$PATH:$ZOOKEEPER_HOME/bin

使配置生效:

source /etc/profile

修改zk配置文件

[[email protected] conf]# cd /usr/local/zookeeper-3.4.13/conf
[[email protected]-zuoys conf]# mv zoo_sample.cfg zoo.cfg
[[email protected]-zuoys conf]# vim zoo.cfg

修改如下:

Storm(1)-centos7下安装单机版Strom

启动zk

[[email protected] bin]# sh zkServer.sh start

测试是否启动成功

telnet 127.0.0.1 2181

 

 

3、安装storm单机版

下载:http://storm.apache.org/downloads.html

配置环境变量

export STORM_HOME=/usr/local/apache-storm-1.2.2
export PATH=$PATH:$STORM_HOME/bin

修改conf/storm.yaml

[[email protected] conf]# cd /usr/local/apache-storm-1.2.2/conf
[[email protected]-zuoys conf]# vim storm.yaml

Storm(1)-centos7下安装单机版Strom

启动storm

$ storm nimbus &
$ storm supervisor &
$ storm ui &

查看webUI

http://127.0.0.1:8080/index.html

 

相关文章:

  • 2021-10-19
  • 2021-04-25
  • 2021-03-31
  • 2021-12-21
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-15
  • 2021-08-22
  • 2022-02-25
  • 2021-11-12
  • 2021-11-12
  • 2022-03-01
  • 2021-07-06
相关资源
相似解决方案