TwitterStormUbuntu single-host installation

Source: Internet
Author: User
TwitterStormUbuntu standalone installation operating system environment: Ubuntu1304KVM VM installation storm involves installing the following package: python, zookeeper, zeromq, jzmq, storm process Ubuntu + Storm single-host environment installation and installation of zookeeper $ sudoa Twitter Storm Ubuntu single-host installation operating system environment: Ubuntu 13.04 KVM virtual machine installation of storm involves installing the following package: python, zookeeper, zeromq, jzmq, storm process Ubuntu + Storm single-host environment installation and installation of zookeeper $ sudo apt-get install zookeeper-bin zookeeperd installation of zeromq and jzmq $ sudo apt-get install $ sudo apt-get install libzmq-dev set JAVA_HOME environment variable $ export JAVA_HOME = "/usr/lib/jvm/java-7-openjdk-amd64" compile and install jzmq $ cd/usr/local/src/$ git clone git: // github.com/nathanmarz/jzmq.git$ cd jzmq $. /autogen. sh $. /configure -- prefix =/srv/jzmq-2.1.0 $ javac src/org/zeromq /*. java $ touch src/classdist_noinst.stamp $ make & make install $ ls/srv/jzmq-2.1.0/lib share install Storm: https://github.com/nathanmarz/storm/downloads $ Sudo apt-get install unzip $ cd/usr/local/src/$ wget https://github.com/downloads/nathanmarz/storm/storm-0.8.1.zip $ Unzip storm-0.8.1.zip $ sudo mv storm-0.8.1/srv/$ sudo ln-s/srv/storm-0.8.1/srv/stormcat> ~ /. Bashrc <'eof 'export JAVA_HOME = "/usr/lib/jvm/java-7-openjdk-amd64" export ZOOKEEPER_HOME = "/usr/lib/zookeeper" export STORM_HOME =/srv/stormexport PATH = $ PATH: $ PATH: $ ZOOKEEPER_HOME/bin: $ STORM_HOME/binEOF modify the location of Storm CONF_DIR directory $ sed-I's: CONF_DIR = OS. path. expanduser ("~ /. Storm "): CONF_DIR ="/srv/storm-0.8.1/conf ": '/srv/storm/bin/storm start service start zookeeper service $ sudo service zookeeper start storm service/srv/storm/bin/storm nimbus &/srv/storm/bin/storm supervisor &/srv/storm/bin/storm ui & Storm UI http://192.168.6.2:8080/ View Java processes $ jps10382 Jps10228 supervisor10294 core10173 nimbus test Storm $ sudo apt-get install maven2 $ git clone git: // Unzip cd storm-starter $ mvn-f m2-pom.xml package first enters Storm UI http://192.168.6.2:8080/ And then run the following command with $ storm jar target/storm-starter-0.0.1-SNAPSHOT-jar-with-dependencies.jar storm. starter. WordCountTopology wordcountTop in the Storm UI you will see wordcountTop
 

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.