1. All hosts need to install JDK and configure JDK environment variable
2, all the host installed SSH, and each other to achieve no secret access
3, modify the host hosts: File/etc/hosts, to ensure that the machine through the machine name can exchange visits
4. Install Python 2.6 and above (Storm )
5, ZeroMQ
Java code
- wget http://download.zeromq.org/zeromq-2.1.7.tar.gz
- TAR-XZF zeromq-2.1. 7. tar.gz
- CD zeromq-2.1. 7
- ./configure
- Make
- sudo make install
During the period may encounter some software Ubuntu does not install sudo apt-get install XXX installation can be
6, Jzmq
Command
- git clone https://github.com/nathanmarz/jzmq.git
- CD JZMQ
- ./autogen.sh
- ./configure
- Make
- sudo make install
Installation and configuration of Git
Command
- sudo apt-get install git
- git config--global user.name author #将用户名设为author
- git config--global user.email author@corpmail. com #将用户邮箱设为author@corpmail. com
Problems encountered during the period:
(1). make[1]: * * * There are no rules to create "org/zeromq/zmq.class" required target "Classdist_noinst.stamp". Stop it
Fix the method, create the Classdist_noinst.stamp file,
Java code
- Touch Src/classdist_noinst.stamp
(2). Error: Unable to access Org.zeromq.ZMQ
Fix method, enter SRC directory, compile related Java code manually
Java code
- javac-d. Org/zeromq/*.java
Hadoop+kafka+strom+flume First Step