安装消息队列rabbitmq:协调各项服务之间的消息 yum install rabbitmq-server -y

启动rabbitmq 监听端口5672 netstat -ntlp 查看 systemctl enable rabbitmq-server.service systemctl start rabbitmq-server.service

新建用户用户名和密码都是openstack rabbitmqctl add_user openstack openstack

授权openstack用户配置、写入、读取的访问 rabbitmqctl set_permissions openstack "." "." ".*"

查看插件 rabbitmq-plugins list

启用web管理插件 端口25672 rabbitmq-plugins enable rabbitmq_management

重启rabbitmq systemctl restart rabbitmq-server.service

关闭防火墙 iptables -F systemctl stop firewalld.service systemctl disable firewalld.service

访问地址 http://192.168.56.11:15672/ 用户名和密码都是guest