首页 > 代码库 > CentOS安装RabbitMQ
CentOS安装RabbitMQ
1、安装erlang的yum源并安装erlang
wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpmrpm -Uvh erlang-solutions-1.0-1.noarch.rpmyum clean allyum makecacheyum install -y erlang
2、安装RabbitMQ
wget --no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo -O /etc/yum.repos.d/convirt.repoyum install -y socatwget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-3.6.6-1.el6.noarch.rpmrpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.ascyum install -y rabbitmq-server-3.6.6-1.el6.noarch.rpm
3、启动RabbitMQ
#开启web管理插件rabbitmq-plugins enable rabbitmq_management#启动服务service rabbitmq-server start#添加用户和删除guestrabbitmqctl add_user admin 123456abcrabbitmqctl set_user_tags admin administratorrabbitmqctl delete_user guestrabbitmqctl set_permissions -p "/" admin ".*" ".*" ".*"
WEB访问:http://IP:15672/
用户名:admin 密码:123456abc
CentOS安装RabbitMQ
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。