以下命令以root用户运行:
#echo 'deb http://www.rabbitmq.com/debian/ testing main' >> /etc/apt/sources.list
#cd /tmp
#wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
#sudo apt-key add rabbitmq-signing-key-public.asc
#sudo apt-get update
#sudo apt-get install rabbitmq-server
RabbitMQ的启动,关闭
service rabbitmq-server start|stop
或
/etc/init.d/rabbitmq-server start|stop
RabbitMQ的控制端命令:
rabbitmqctl -h 查看所有命令, 动手敲敲熟悉
RabbbitMQ的Java客户端:
http://www.rabbitmq.com/java-client.html