- rpm --import http://binaries.erlang-solutions.com/debian/erlang_solutions.asc/
- wget http://binaries.erlang-solutions.com/rpm/centos/erlang_solutions.repo
mv erlang_solutions.repo /etc/yum.repos.d/
在安装之前需要按安装一下它所依赖的epel-release 所以先yum 一下
如果rabbitmq-server-3.7.4-1.el7.noarch.rpm暂时还不支持wget命令下载
wget https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.8/rabbitmq-server-3.7.8-1.el7.noarch
yuminstall-yrabbitmq-server-3.7.8-1.el7.noarch.rpm
service rabbitmq-server status
rabbitmq-plugins enable rabbitmq_management
rabbitmqctl add_user rabbitmq123 rabbitmq123
rabbitmqctl set_user_tags rabbitmq123 administrator
rabbitmqctl set_permissions -p / administrator '.*' '.*' '.*'