Last active
December 29, 2015 10:08
-
-
Save xiocode/7654520 to your computer and use it in GitHub Desktop.
安装Storm框架
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1、依赖Java,Python | |
2、安装zookeeper | |
wget http://apache.dataguru.cn/zookeeper/current/zookeeper-3.4.5.tar.gz | |
tar -xvf zookeeper-3.4.5.tar.gz | |
cp -R zookeeper-3.4.5 /usr/local/ | |
ln -s /usr/local/zookeeper-3.4.5/ /usr/local/zookeeper | |
vi ~/.bashrc | |
追加: | |
export ZOOKEEPER_HOME="/usr/local/zookeeper" | |
export PATH=$PATH:$ZOOKEEPER_HOME/bin | |
3、安装zmq | |
wget http://download.zeromq.org/zeromq-4.0.3.tar.gz | |
tar -xvf zeromq-4.0.3.tar.gz | |
cd zeromq-4.0.3 | |
./configure | |
make && make install | |
4、安装jzmq | |
git clone git://github.com/nathanmarz/jzmq.git | |
cd jzmq | |
./autogen.sh | |
./configure | |
make && make install | |
5、安装storm | |
wget https://www.dropbox.com/s/fl4kr7w0oc8ihdw/storm-0.8.2.zip | |
unzip storm-0.8.2.zip | |
cp -R storm-0.8.2 /usr/local/ | |
ln -s /usr/local/storm-0.8.2/ /usr/local/storm | |
export STORM_HOME="/usr/local/storm" | |
export PATH=$PATH:$STORM_HOME/bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment