openstack安装(8)

2021-05-06 10:34:53 浏览数 (1)

安装配置消息队列服务(rabbitmq)

[root@controller ~]# yum install -y rabbitmq-serve

root@controller ~]# systemctl enable rabbitmq-server.service && systemctl start rabbitmq-server.service

[root@controller ~]# rabbitmqctl add_user openstack 123456 #添加 openstack 用户,密码123456

[root@controller ~]# rabbitmqctl set_permissions openstack ".*" ".*" ".*" #给openstack用户配置写和读权限[root@controller ~]# rabbitmq-plugins list #查看支持的插件[root@controller ~]# rabbitmq-plugins enable rabbitmq_management #使用此插件实现 web 管理[root@linux-node1 ~]# systemctl restart rabbitmq-server.service[root@controller ~]# netstat -tnlp|grep beamtcp 0 0 0.0.0.0:15672 0.0.0.0:* LISTEN 997/beam #管理端口 tcp 0 0 0.0.0.0:25672 0.0.0.0:* LISTEN 997/beam #server间内部通信口 tcp6 0 0 :::5672 :::* LISTEN 997/beam #client端通信口

0 人点赞