Today suddenly interested in RABBITMQ, on the virtual machine has a play (Ubuntu 14.04 installed on the virtual machine, you can enter lsb_release-a view version information). As long as the Linux kernel, the basic installation method should be similar. The following is the easiest way to install, suitable for a brother to use the lazy (using the source code or other ways to manually install a lot of dependencies): Apt installation:? 1, add the following installation source to/etc/apt/sources.list:
deb http:
//www
.rabbitmq.com
/debian/
testing main
2、执行更新:
apt-get update
3、运行安装:
apt-get install rabbitmq-server
如果在安装中出现无法下载的错误,需要将rabbitMQ的公钥添加到信任列表中:
wget http:
//www
.rabbitmq.com
/rabbitmq-signing-key-public
.asc
Apt-key Add RABBITMQ-SIGNING-KEY-PUBLIC.ASC  RABBITMQ provides some simple and useful commands for managing Server Health: View Server Run Status: Rabbitmq-server Status Start server: Rabbitmq-server start stop server: Rabbitmq-server stop View all Message Queuing information in the server: Rabbitmqctl list_ Queues View all routing information for the server: Rabbitmqctl list_exchanges View all routing and Message Queuing binding information for the server: RABBITMQ List_bindingsps: Commands such as Rabbitmq-server only have the root user's permission. about RABBITMQ Graphical management interface (default is not available): 1, install Rabbitmqweb Management plug-in rabbitmq-plugins enable rabbitmq_ Management2, restart service  SERVICE RABBITMQ-SERVER RESTART3, login access: http://127.0.0.1:15672 uname:guest pwd:guest port:156 But because I'm using the virtual machine bridging approach, The equivalent of a LAN connection when accessing the MQ Web interface (my virtual machine's IP is 192.168.52.xx), I was in the LAN access management interface when I found that "Login failed", checked the next to know is the high version of MQ in Mischief, Only localhost can log in MQ after 3.x version, So,what should I do? (Some people say that after shutting down the firewall [UFW disable] can connect, I tried, or not). Finally, changed a lot of ways, finally can. need to write/etc/rabbitmq/rabbitmq.config file (this file is created manually), add the following:  &NBsp [{rabbit, [{loopback_users, []}]}]. Restart, ok! I felt relieved that I had tested a piece and saw the winding lines. Finish the Fight!
RABBITMQ installation and configuration under
Linux (Ubuntu)