Install storm1.1.0 under Windows

Source: Internet
Author: User
Tags windows x86 zookeeper

Zookeeper and Python need to be taken care of before installing storm, so let's take 3 steps below:

First, zookeeper

1, on https://zookeeper.apache.org/Click below download to the new page, you have to point a middle download, and then select a mirror link http://mirrors.tuna.tsinghua.edu.cn/ apache/zookeeper/Select a version zookeeper-3.4.10.tar.gz download to local D drive

2. After unpacking, open the configuration file D:\zookeeper-3.4.10\conf\zoo_sample.cfg, and change the datadir=/tmp/zookeeper revision to

and rename the zoo_sample.cfg to Zoo.cfg

3, new environment variable zookeeper_home and set to D:\zookeeper-3.4.10, in path new%zookeeper_home%\bin. Open cmd Command Line window, enter D:\zookeeper-3.4.10\bin execute zkservier.cmd start ZK

Second, Python

1, Upper https://www.python.org/select Downloads->windows->python 2.7.13-2016-12-17->download Windows x86-64 MSI Installer, download to local

2, click on the download of the installation package, installation path select D:\Python27, in the path of new

D:\python27;d:\python27\scripts\;D: \python27\lib\site-packages\;

Third, Storm

1, Upper http://storm.apache.org/point upper right corner download, point apache-storm-1.1.0.tar.gz download to local D drive, add storm environment variable storm_home and set to D:\ apache-storm-1.1.0, add%storm_home%\bin in path.

2, after decompression open D:\apache-storm-1.1.0\bin\storm-config.cmd, add%storm_home% to the following location:

for/f "delims="%%i in (%cmd_temp_file%) does (    for/f "tokens=1,* delims="%%a in ("%%i") do (        if%%a = = VALUE: (            set storm_log4j2_configuration_dir=%storm_home%\%%b            del/f%cmd_temp_file%)        )))    

3. Make sure zookeeper is up, go to cmd command line, and execute in D:\apache-storm-1.1.0\bin respectively

When you get up, you can go to localhost:8080 to see things.

Install storm1.1.0 under Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.