一键搞定
sudo apt-get install rabbit
或使用:http://www.rabbitmq.com/install-debian.html 中的rabbitmq-server_2.8.1-1_all.deb
启动:
sudo rabbitmq-server start
出现以下东西即成功安装
+---+ +---+
| | | |
| | | |
| | | |
| +---+ +-------+
| |
| RabbitMQ +---+ |
| | | |
| v1.8.0 +---+ |
| |
+-------------------+
AMQP 8-0
Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.
Licensed under the MPL. See http://www.rabbitmq.com/
node : rabbit@larry-ubuntu-10
app descriptor : /usr/lib/rabbitmq/lib/rabbitmq_server-1.8.0/sbin/../ebin/rabbit.app
home dir : /var/lib/rabbitmq
cookie hash : Sj8Q8ow7eE3rHEZTogbDqw==
log : /var/log/rabbitmq/rabbit@larry-ubuntu-10.log
sasl log : /var/log/rabbitmq/rabbit@larry-ubuntu-10-sasl.log
database dir : /var/lib/rabbitmq/mnesia/rabbit@larry-ubuntu-10
erlang version : 5.7.4
starting file handle cache server ...done
starting worker pool ...done
starting database ...done
starting codec correctness check ...done
-- external infrastructure ready
starting exchange type registry ...done
starting exchange type topic ...done
starting exchange type headers ...done
starting exchange type fanout ...done
starting exchange type direct ...done
starting internal event notification system ...done
starting logging server ...done
-- kernel ready
starting alarm handler ...done
starting node monitor ...done
starting cluster delegate ...done
starting guid generator ...done
starting memory monitor ...done
-- core initialized
starting empty DB check ...done
starting exchange recovery ...done
starting queue supervisor and queue recovery ...done
-- message delivery logic ready
starting error log relay ...done
starting networking ...done
-- network listeners available
broker running