Story #8062
Story #8061: develop queue-based processing system for the CN
Install rabbitMQ on dev CNs
100%
Description
Install rabbitmg on orc and ucsb dev machines. unm is behind firewall, so skip for now.
Install from the rabbitMQ.com apt repository as per: https://www.rabbitmq.com/install-debian.html
Run the "Hello world" tutorial 1 to check installation.
History
#1 Updated by Rob Nahf over 7 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
successfully installed on both machines and working for localhost connections.
Install as root:
echo 'deb http://www.rabbitmq.com/debian/ testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | apt-key add -
apt-get update
apt-get install rabbitmq-server
Checked with the java client tutorial code (in ~rnahf/rabbitMQ/java directories on each machine)
Setup the java client by copy-pasting the Send.java and Recv.java tutorial code into the directory, then downloaded the dependencies, compiled and ran:
curl http://central.maven.org/maven2/com/rabbitmq/amqp-client/4.0.2/amqp-client-4.0.2.jar >amqp-client-4.0.2.jar
curl http://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar>slf4j-api-1.7.21.jar
curl http://central.maven.org/maven2/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar >slf4j-simple-1.7.22.jar
javac -cp .:find * -name "*.jar" | tr "\n" ":"
Send.java
javac -cp .:find * -name "*.jar" | tr "\n" ":"
Recv.java
java -cp .:find * -name "*.jar" | tr "\n" ":"
Send
java -cp .:find * -name "*.jar" | tr "\n" ":"
Recv
#2 Updated by Rob Nahf over 7 years ago
upgraded erlang from R16 to OTP19 following these instructions:
http://stackoverflow.com/questions/27215936/how-to-upgrade-the-erlang-version-on-ubuntu-r14b04-to-latest-stable-version
for adding the erlang repo, I added it to the /etc/apt/sources.list.d/rabbitmq.list