Pre-conditions
Python 2.6.6 and Java 8 installed
Create an Account
This account is used by the Storm service and will become one of HDFs's user accounts in the future.
Useradd Dean
Create a public key
Su-deanssh-keygen-t Rsa-p '
Download and Unzip
wget Https://github.com/apache/storm/archive/v0.10.0-beta1.tar.gztar ZXVF v0.10.0-beta1.tar.gz
Unzip and place in the/DATA/SLOT0/STORM-0.10.0-BETA1 directory
Configuration
1. Establish/data/slot0/storm soft link, point to/data/slot/storm-0.10.0-beta1
2. Change the two storm directories owner to Dean, for example:
Chown-r Dean:dean Storm
3. Switch to storm account and start editing the Conf/storm.yaml file
CP Storm.yaml.example Storm.yaml
There are many default values in the Defaults.yaml file, and if you no longer overwrite them in the Storm.yaml file, these default values will be used
Storm.local.dir: "Storm-local"
Storm-local saves the program jar packages and configuration files for topology deployed on Storm.
Since the Storm installation directory is on a large disk partition, the default setting is still used here to configure the Storm-local directory in the directory
4. Set the address of the zookeeper, the port number is not set because the default port is used
For the time being set so much
########### these must is filled in for a storm configurationstorm.zookeeper.servers: -"10-149-11-146" -"10-149 -11-147 " -" 10-149-11-148 "Nimbus.host:" 10-149-11-147 "
Then copy the storm directory to each server
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Storm Cluster deployment