storm安装
CentOS 5.8 x64 make
tar xf zeromq-2.1.7.tar.gz
cd zeromq-2.1.7
./configure --prefix=/opt/zeromq
make && make install
unzip jzmq-master.zip
cd jzmq-master
./autogen.sh
./configure --prefix=/opt/jzmq --with-zeromq=/opt/zeromq/
make && make install
unzip storm-0.8.2.zip
cd storm-0.8.2
vim conf/storm.yaml #edit
########### These MUST be filled in for a storm configuration
storm.zookeeper.servers:
- "192.168.49.250"
- "192.168.49.251"
- "192.168.49.252"
nimbus.host: "192.168.49.251"
storm.local.dir: "/opt/storm/data"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
- 6704
- 6705
- 6706
- 6707
- 6708
- 6709
java.library.path: "/opt/jzmq/lib:/opt/zeromq/lib:/opt/jzmq/share/java:/usr/local/lib:/opt/local/lib:/usr/lib"
###########
ln -s storm-0.8.2 storm
mkdir /opt/storm/data
nohup ./storm nimbus &
nohup ./storm supervisor &
nohup ./storm ui &
netstat -tulnp | grep 8080
如添加strom,复制程序,不修改任何配置,启动如下即可:
nohup ./storm supervisor &
tar xf zeromq-2.1.7.tar.gz
cd zeromq-2.1.7
./configure --prefix=/opt/zeromq
make && make install
unzip jzmq-master.zip
cd jzmq-master
./autogen.sh
./configure --prefix=/opt/jzmq --with-zeromq=/opt/zeromq/
make && make install
unzip storm-0.8.2.zip
cd storm-0.8.2
vim conf/storm.yaml #edit
########### These MUST be filled in for a storm configuration
storm.zookeeper.servers:
- "192.168.49.250"
- "192.168.49.251"
- "192.168.49.252"
nimbus.host: "192.168.49.251"
storm.local.dir: "/opt/storm/data"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
- 6704
- 6705
- 6706
- 6707
- 6708
- 6709
java.library.path: "/opt/jzmq/lib:/opt/zeromq/lib:/opt/jzmq/share/java:/usr/local/lib:/opt/local/lib:/usr/lib"
###########
ln -s storm-0.8.2 storm
mkdir /opt/storm/data
nohup ./storm nimbus &
nohup ./storm supervisor &
nohup ./storm ui &
netstat -tulnp | grep 8080
如添加strom,复制程序,不修改任何配置,启动如下即可:
nohup ./storm supervisor &