rabbitMQ安装:
1、下载:Install zero-dependency Erlang from RabbitMQ:
https://bintray.com/rabbitmq/rpm/download_file?file_path=erlang%2F20%2Fel%2F7%2Fx86_64%2Ferlang-20.1.7-1.el7.centos.x86_64.rpm
下载后:
erlang-20.1.7-1.el7.centos.x86_64.rpm
yum install erlang-20.1.7-1.el7.centos.x86_64.rpm
2、安装RabbitMQ Server
https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.0/rabbitmq-server-3.7.0-1.el7.noarch.rpm
下载后:rabbitmq-server-3.7.0-1.el7.noarch.rpm
yum install rabbitmq-server-3.7.0-1.el7.noarch.rpm
3、安装管理插件
rabbitmq-plugins enable rabbitmq_management
4、添加开机启动和启动服务
chkconfig rabbitmq-server on
service rabbitmq-server start
5、添加用户和授权
rabbitmqctl add_user mqadmin mqadmin
rabbitmqctl set_user_tags mqadmin administrator
rabbitmqctl set_permissions -p / mqadmin '.*' '.*' '.*'
5、验证:ip:15672