eralng官方地址 : https://github.com/rabbitmq/erlang-rpm/releases
socat官方地址 : https://centos.pkgs.org/7/lux/socat-1.7.3.2-5.el7.lux.x86_64.rpm.html
rabbitmq 官方地址: http://www.rabbitmq.com/install-rpm.html
下载命令
erlang : curl -L -O https://github.com/rabbitmq/erlang-rpm/releases/download/v20.1.7/erlang-20.1.7-1.el7.centos.x86_64.rpm
rpm -ivh erlang-20.1.7-1.el7.centos.x86_64.rpm
安装: socat
yum install socat
rabbitmq : curl -L -O https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.0/rabbitmq-server-3.7.0-1.el7.noarch.rpm
rpm -ivh rabbitmq-server-3.7.0-1.el7.noarch.rpm
查看 rabbit状态
service rabbitmq-server status
启动rabbit
service rabbitmq-server start
安装 web插件
rabbitmq-plugins enable rabbitmq_management
添加用户
rabbitmqctl add_user admin admin
给予管理权限
rabbitmqctl set_user_tags admin administrator
网友评论