redhat6.4安装storm集群-4节点

0.搭建ftp服务器并建立yum源

1.在每个节点上安装java并设置环境变量

2.在三个节点上安装zookeeper

3.安装zeromq

过程中发现运行./configure时出现问题:

configure: error: no acceptable C compiler found in $PATH

运行以下命令即可:

yum install gcc-c++

configure: error: cannot link with -luuid, install uuid-dev.

运行以下命令即可:

yum install libuuid-devel

4.安装jzmq

在运行autogen.sh中间出现问题:autogen.sh: error: could not find libtool.  libtool is required to run autogen.sh.

运行以下命令即可:

yum install libtool

5.安装storm。版本为0.9.0.1

6.启动服务.在一个节点上起nimbus,ui,supervisor,在其他三个节点上起supervisor

原文地址:https://www.cnblogs.com/littlesuccess/p/3546296.html