【原】消息队列—RabbitMQ的安装
in with 0 comment

【原】消息队列—RabbitMQ的安装

in with 0 comment

安装erlang库

curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash

安装Rabbit库

curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash

安装erlang

yum install erlang

安装Rabbit

yum install rabbitmq-server

配置开机启动

chkconfig rabbitmq-server on

启动Rabbit

systemctl start rabbitmq-server

启动可视化

rabbitmq-plugins enable rabbitmq_management

新增用户,并且配置权限组

rabbitmqctl add_user <用户名> 回车后输入密码
rabbitmqctl set_user_tags <用户名> administrator
Comments are closed.