esb-proxy-server
v0.1.0
Published
The Server
Downloads
3
Readme
ESB
Enterprise service bus
The Server
Dependencies
- protobuf
- zeromq
- redis
Redhat based Linux
#Installing nodejs
yum groupinstall "Development Tools" -y
yum install -y git wget
cd /tmp/
wget http://nodejs.org/dist/node-latest.tar.gz
tar -xzvf node-latest.tar.gz
cd node-v0.10.*
make && make install
#node-gyp
npm install -g node-gyp
#installing redis
cd /tmp/
wget http://download.redis.io/releases/redis-2.8.6.tar.gz
tar -xzvf redis-2.8.6.tar.gz
cd redis-*
make && make install
#run redis server as demon
redis-server --daemonize yes
redis-cli ping
#protobuf
cd /tmp/
wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
tar -xzvf protobuf-2.5.0.tar.gz
cd protobuf-2.5.0/
./configure
make && make install
#zmq
cd /tmp/
wget http://download.zeromq.org/zeromq-3.2.4.tar.gz
tar -xzvf zeromq-3.2.4.tar.gz
cd zeromq-*
./configure
make && make install
#esb-proxy-server
cd ~/
git clone https://github.com/h0x91b/ESB-proxy-server.git
cd ESB-proxy-server/proxy-server/
cd src/deps/hiredis/
make && make install
cd ../../../
./build.sh
#run proxy
CXXFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib/ V=1 npm install
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
node main.js