http://www.zeromq.org/
https://github.com/zeromq/jzmq
https://github.com/nathanmarz/storm
https://github.com/nathanmarz/storm-starter
http://mirror.bjtu.edu.cn/apache/
一、安装zookeerper
http://blog.csdn.net/lkernel/article/details/8116415
二、安装zeromq
http://blog.csdn.net/lkernel/article/details/8131762
3. cd zeromq-jzmq-56769e7/
4. ./autogen.sh7. sudo make install
四、安装storm
1. wget https://github.com/downloads/nathanmarz/storm/storm-0.8.1.zip
2. sudo mkdir /usr/local/storm
3. sudo cp storm-0.8.1.zip /usr/local/storm/
4. cd /usr/local/storm/
5. sudo unzip storm-0.8.1.zip
6.sudo rm -rf storm-0.8.1.zip
7. sudo vim /etc/profile
export STORM_HOME=/usr/local/storm/storm-0.8.1
export PATH=$STORM_HOME/bin:$PATH
五、安装maven
1. wget 'http://mirror.bjtu.edu.cn/apache/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.tar.gz'
2. sudo mkdir /usr/local/maven
3. sudo cp apache-maven-3.0.4-bin.tar.gz /usr/local/maven/
4. cd /usr/local/maven/
5.sudo tar zxvf apache-maven-3.0.4-bin.tar.gz
6. sudo rm -rf apache-maven-3.0.4-bin.tar.gz
7. sudo vim /etc/profile
export MAVEN_HOME=/usr/local/maven/apache-maven-3.0.4
export PATH=$MAVEN_HOME/bin:$PATH
六、测试
1. wget https://github.com/nathanmarz/storm-starter/zipball/master2. unzip nathanmarz-storm-starter-fd0d331.zip
3. cd nathanmarz-storm-starter-fd0d331
4. vim m2-pom.xml
(1)删除
(2)修改 org.twitter4j相关为
5. 执行测试命令
mvn -f m2-pom.xml compile exec:java -Dexec.classpathScope=compile -Dexec.mainClass=storm.starter.WordCountTopology