OpenStack中的rabbitmq的配置方法
阿新 • • 發佈:2017-10-11
server plugin style lis setting creating 開機 alt .cn
OpenStack中的rabbitmq的配置方法
author:headsen chen 2017-10-11 17:24:58
個人原創,允許轉載,轉載請註明作者,出處,否則依法追究法律責任
安裝: yum install -y rabbitmq-server
開機啟動: systemctl enable rabbitmq-server
啟動: systemctl start rabbitmq-server (開通5672 和25672端口)
添加openstack用戶: rabbitmqctl add_user openstack xxxxxxx
Creating user "openstack" ...
給openstack用戶配置讀寫權限: rabbitmqctl set_permissions openstack ".*" ".*" ".*"
Setting permissions for user "openstack" in vhost "/" ...
查看插件: rabbitmq-plugins list
打開management插件,就可以通過web界面管理rebbitmq
rabbitmq-plugins enable rabbitmq_management (打開後會開通15672端口)
通過web頁面查看,用戶名和密碼都是guest。http ://10.0.0.11:15672
OpenStack中的rabbitmq的配置方法