乐趣区

rabbitMQ安装

安装 yum 源
yum list | grep epel-release
yum -y install epel-release.noarch
安装 rabbitmq-server
#安装
yum -y install rabbitmq-server
#启动
systemctl start rabbitmq-server.service
#查看
systemctl status rabbitmq-server.service
启用管理插件
#查看
rabbitmq-plugins list
#开启管理后台
rabbitmq-plugins enable rabbitmq_management
#重启
systemctl restart rabbitmq-server.service
#查看端口
netstat -tunlp |grep 15672
#防火墙端口放开
-A INPUT -p tcp -m state –state NEW -m tcp –dport 15672 -j ACCEPT
iptables-save > /etc/sysconfig/iptables

登录管理后台
账号:guest 密码:guest

退出移动版