0x01安装依赖
yum install -y socat logrotate
0x02安装erlang
https://github.com/rabbitmq/erlang-rpm
0x03安装rabbitmq
https://www.rabbitmq.com/install-rpm.html#downloads
下载对应包后
rpm -ivh rabbitmq-server-3.8.2-1.el7.noarch.rpm
0x04启动服务
chkconfig rabbitmq-server on
service rabbitmq-server start
0x05设置用户
rabbitmqctl add_user admin admin
rabbitmqctl set_user_tags admin administrator
0x06启用管理界面
https://www.rabbitmq.com/management.html
rabbitmq-plugins enable rabbitmq_management
访问15672端口进入管理网页