1、下载所需rpm包(erlang、socat、rabbitmq)
https://packagecloud.io/rabbitmq/erlang
erlang-22.2.6-1.el6.x86_64.rpm
http://www.rpmfind.net/linux/rpm2html/search.php?query=socat(x86-64)
socat-1.7.2.4-1.el6.rf.x86_64.rpm
image.png
https://www.rabbitmq.com/install-rpm.html
rabbitmq-server-3.8.2-1.el6.noarch.rpm
image.png
下载好的rpm安装包,百度网盘
链接:https://pan.baidu.com/s/1-9EMy00UvCj3WTtPjdD9Iw
提取码:cm4j
2、rpm安装
rpm -ivh erlang-22.2.6-1.el6.x86_64.rpm
rpm -ivh socat-1.7.2.4-1.el6.rf.x86_64.rpm
rpm -ivh rabbitmq-server-3.8.2-1.el6.noarch.rpm
3、启动RabbitMQ
设置账户密码为admin 123456
rabbitmqctl add_user admin 123456
设置admin为管理员权限
rabbitmqctl set_user_tags admin administrator
开启rabbitmq web界面
rabbitmq-plugins enable rabbitmq_management
4、设置防火墙
vim /etc/sysconfig/iptables
service iptables restart
image.png
5、访问验证
访问http://192.168.31.10:15672
登陆账户密码: admin 123456
image.png
网友评论