1.下載解壓
下載地址:http://storm.apache.org/downloads.html
#下載
wget https://www-us.apache.org/dist/storm/apache-storm-1.2.2/apache-storm-1.2.2.tar.gz
#解壓
tar -zxf apache-storm-1.2.2.tar.gz
2.修改配置文件
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
########### These MUST be filled in for a storm configuration
storm.zookeeper.servers:
- "127.0.0.1"
# - "server2"
storm.local.dir: "/usr/bdp/apache-storm-1.2.2/data"
nimbus.host: "127.0.0.1"
ui.port: 8888
supervisor.slots.ports:
- 6700
- 6701
# nimbus.seeds: ["host1", "host2", "host3"]
3.啓動
nohup ./bin/storm ui &
nohup ./bin/storm nimbus &