阿里云 centos7.2安装rabbitmq

首先安装二郎神(erlang)

依赖环境

yum install unixODBC unixODBC-devel wxBase wxGTK SDL wxGTK-gl
yum install erlang
安装rabbitmq

wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-3.6.6-1.el7.noarch.rpm
yum install rabbitmq-server-3.6.6-1.el7.noarch.rpm 



启动服务

service rabbitmq-server start

查看状态

service rabbitmq-server status

添加用户

rabbitmqctl add_user rollen root
rabbitmqctl set_user_tags rollen administrator
rabbitmqctl set_permissions -p / rollen ".*" ".*" ".*"

图形界面

rabbitmq-plugins enable rabbitmq_management


图片我是粘上去的,不知道为啥看不到

你可能感兴趣的:(java编程,问题总结,学习)