Skip to content

Instantly share code, notes, and snippets.

@chriswhitcombe
Last active October 4, 2015 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriswhitcombe/2713634 to your computer and use it in GitHub Desktop.
Save chriswhitcombe/2713634 to your computer and use it in GitHub Desktop.
Setting up a storm cluster
#install gcc
yum install gcc
#install C++ extensions
yum install gcc-c++.x86_64
#install uuid dev (may not be needed)
#yum install uuid-devel.x86_64
#install libuuid
yum install libuuid-devel
#install native deps for storm as per:
#https://github.com/nathanmarz/storm/wiki/Installing-native-dependencies
#install needed bits
yum install libtool
#set java home (check java version)
#run this line and also add it to ~/.bash_profile
export JAVA_HOME=/usr/java/jdk1.6.0_26/
#install zeromq
wget http://download.zeromq.org/historic/zeromq-2.1.7.tar.gz
tar -xzf zeromq-2.1.7.tar.gz
cd zeromq-2.1.7
./configure
make install
#install git
yum install git
#install jzmq
git clone https://github.com/nathanmarz/jzmq.git
cd jzmq
./autogen.sh
./configure
make install
#install python2.6 (should be there on CentOS 6)
#make sure to run storm daemons under supervision
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment