Rabbitmq部署
- 环境介绍
- 关闭防火墙和SELINUX
systemctl stop firewalld.service
systemctl disable firewalld.service
setenforce 0
sed -i '/^SELINUX=/s/enforcing/disabled/' /etc/selinux/config
yum -y install erlang-23.3-2.el8.x86_64.rpm
yum -y install rabbitmq-server-3.8.16-1.el8.noarch.rpm
- 启动服务
systemctl start rabbitmq-server.service
systemctl enable rabbitmq-server.service
systemctl status rabbitmq-server.service
- 配置
rabbitmqctl add_user 用户 密码
rabbitmqctl set_user_tags 用户 administrator
rabbitmqctl set_permissions -p "/" 用户 ".*" ".*" ".*"
rabbitmq-plugins enable rabbitmq_management
访问web管理: IP:15672