安装 Erlang
1)Enable EPEL on your machine
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum install foo
2)EnableErlang repository
wget -O /etc/yum.repos.d/epel-erlang.repo http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo
3)Install Erlang
yum install erlang
安装 rabbitmq-server
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.0/rabbitmq-server-3.5.0-1.noarch.rpm
rpm -ivh rabbitmq-server-3.5.0-1.noarch.rpm
安装 RabbitMQWeb管理插件
rabbitmq-plugins enable rabbitmq_management
service rabbitmq-server restart
http://127.0.0.1:15672 55672也可以,直接跳转到下列web管理
用户名密码 guest
启动RabbitMQ Server
/etc/init.d/rabbitmq-server start
或
service rabbitmq-service start
无法登陆解决办法
vim /etc/rabbitmq/rabbitmq.config
写入信息,并保存
[{rabbit, [{loopback_users, []}]}].
注意,最后那个点要加上去