CentOS 6.5 Environment
1. ZEROMQ version 3.2.5
Reference: Http://zeromq.org/area:download#toc1
$ wget http://download.zeromq.org/zeromq-3.2.5.tar.gz
$ tar zxvf zeromq-3.2.5.tar.gz
$ CD zeromq-3.2.5
$./configure
$ make
$ make Install
Error:
(1) Unbale to find a working C + + compiler
Yum Install gcc gcc-c++ kernel-devel
Reference: http://www.centoscn.com/image-text/install/2015/1012/6281.html
2. JZMQ Installation
Download: HTTPS://GITHUB.COM/ZEROMQ/JZMQ
(1) Copy the Jzmq-master.zip to the ZEROMQ directory.
Unzip Jzmq-master.zip
(2)
CD jzmq-jni/
./autogen.sh
./configure
Make
Make install
Cd..
MVN Package
Error:
(1) could not find Libtool
sudo   yum  install   libtool
3. install JDK1.7 under CentOS
Reference: http://www.centoscn.com/image-text/install/2014/0827/3585.html
4./etc/profile File Configuration
Export java_home=/usr/local/java/jdk1.7.0_79
Export JRE_HOME=/USR/LOCAL/JAVA/JDK1.7.0_79/JRE
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar:/usr/local/share/java/zmq.jar: $JRE _home/lib:$ CLASSPATH
Export path= $JAVA _home/bin: $PATH
Export Ld_library_path=/usr/local/lib
Test:
JAVA-DJAVA.LIBRARY.PATH=/USR/LOCAL/LIB-CP.:/ Usr/local/share/java/zmq.jar:/usr/local/share/perf/zmq-perf.jar Local_lat tcp://192.168.2.200:5555 1 100
JAVA-DJAVA.LIBRARY.PATH=/USR/LOCAL/LIB-CP.:/ Usr/local/share/java/zmq.jar:/usr/local/share/perf/zmq-perf.jar Remote_lat tcp://192.168.2.200:5555 1 100
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/66/wKiom1cdhbTSr45zAAAhwhEhfcs747.png "title=" Zeromq-1 "alt=" Wkiom1cdhbtsr45zaaahwhehfcs747.png "/>
Reference documents:
Http://shiyanjun.cn/archives/241.html "CentOS 6.4 stand-alone environment installation configuration Storm"
This article is from the "Programming Art" blog, so be sure to keep this source http://itsart.blog.51cto.com/1005243/1767433
[ZEROMQ] zeromq+jzmq installation under UNIX