首页 > 代码库 > 2.OpenStack-安装消息队列服务

2.OpenStack-安装消息队列服务

安装消息队列服务(安装在控制器上)

 

yum install rabbitmq-server -y
 
systemctl start mariadb.service

 

配置消息队列服务

systemctl enable rabbitmq-server.service
systemctl restart rabbitmq-server.service

 

修改密码

rabbitmqctl change_password guest Abcd1234
 
Creating user "openstack" ...
...done.
   
 

  

配置允许写和读权限为 OpenStack用户:

rabbitmqctl set_permissions openstack ".*" ".*" ".*"

Setting permissions for user "openstack" in vhost "/" ...

 

2.OpenStack-安装消息队列服务