CentOS7安装RabbitMQ3.7.17

  1. 下载esl-erlang_22.0.7-1_centos_7_amd64.rpm
  2. 下载rabbitmq-server-3.7.17-1.el7.noarch.rpm
  3. 安装esl-erlang_22.0.7-1_centos_7_amd64.rpm yum install esl-erlang_22.0.7-1_centos_7_amd64.rpm
  4. 安装RabbitMQ3.7.17 yum install rabbitmq-server-3.7.17-1.el7.noarch.rpm
  5. 创建帐号rabbitmqctl add_user 帐号 密码
  6. 分配角色:rabbitmqctl set_user_tags 帐号 administrator
  7. 重启RabbitMQ:systemctl restart rabbitmq-server.service
  8. 设置开机自启动:systemctl enable rabbitmq-server.service

你可能感兴趣的:(RabbitMQ,linux,工具)