Skip to content

Instantly share code, notes, and snippets.

@smbanaie
Last active August 29, 2015 14:01
Show Gist options
  • Save smbanaie/16b55cf6259a1c12a3fa to your computer and use it in GitHub Desktop.
Save smbanaie/16b55cf6259a1c12a3fa to your computer and use it in GitHub Desktop.
Setup Storm And Petrel
1. Download Storm
######
2. Set Storm in PATH variable using this code in ~/.profile
export PATH=$PATH:/path/to/storm/bin
#logout an login again and check storm version
3. check Java version (> = 1.7 and JDK Installed) and Python (>=2.7)
4.check VirtualEnv in python
install PyYAML : http://pyyaml.org/wiki/LibYAML
insttall thrift
$ sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
$ cd /tmp
$ wget https://dist.apache.org/repos/dist/release/thrift/0.9.1/thrift-0.9.1.tar.gz | tar zx
$ cd thrift-0.9.0/
$ ./configure
$ make
install maven
apt-get install maven
5.download Petel egg : wget https://pypi.python.org/packages/2.7/p/petrel/petrel-0.9.0.0.1-py2.7.egg#md5=7addc3236e86149ee43a81f33ac5e130
easy_install petrel*.egg
6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment