-
Notifications
You must be signed in to change notification settings - Fork 0
Installing Storm on Ubuntu Server 12.04.1 LTS
Kaain edited this page Nov 27, 2012
·
4 revisions
sudo add-apt-repository ppa:webupd8team/java
sudo add-apt-repository ppa:chris-lea/zeromq
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install oracle-java6-installer
export JAVA_HOME=/usr/lib/jvm/java-6-oracle
sudo apt-get install git -y
sudo apt-get install pkg-config -y
sudo apt-get install libtool -y
sudo apt-get install automake -y
//sudo apt-get install python-setuptools
//sudo easy_install pip
//apt-get install libzmq-dev -y
//sudo apt-get install python-zmq
sudo apt-get install uuid-dev
sudo apt-get install autoconf
Storm - Installing-native-dependencies
wget http://download.zeromq.org/zeromq-2.1.7.tar.gz
tar -xvf zeromq-2.1.7.tar.gz
rm zeromq-2.1.7.tar.gz
cd zeromq-2.1.7
./configure
make
sudo make install
Storm - Installing-native-dependencies
git clone git://github.com/zeromq/jzmq.git
cd jzmq/
./autogen.sh
./configure
make
sudo make install
wget http://mirror.derwebwolf.net/apache/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz
tar -xvf zookeeper-3.4.5.tar.gz
rm zookeeper-3.4.5.tar.gz
nano zookeeper-3.4.5/conf/zoo.cfg
tickTime=2000
dataDir=/var/lib/zookeeper
clientPort=2181
wget https://github.com/downloads/nathanmarz/storm/storm-0.9.0-wip3.zip
unzip storm-0.9.0-wip3.zip
mkdir storm
mv storm-0.9.0-wip3/* storm/
rm -r storm-0.9.0-wip3
rm storm-0.9.0-wip3.zip
nano storm/conf/storm.yaml
storm.local.dir: "/tmp/storm"
storm.zookeeper.servers:
- "localhost"
storm.zookeeper.port: 2181
nimbus.host: "localhost"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703