wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
如果报错:error: Failed dependencies: epel-release is needed by erlang-solutions-1.0-1.noarch
缺少依赖:
yum install epel-release
yum -y install erlang
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-3.6.6-1.el6.noarch.rpm
`yum -y install rabbitmq-server-3.6.6-1.el6.noarch.rpm
注:
如果报:Requires: socat
更新源:
wget –no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo -O /etc/yum.repos.d/convirt.repo
yum安装socat
yum install socat`
后台运行
rabbitmq-server -detached
rabbitmq-plugins enable rabbitmq_management
rabbitmqctl add_user admin admin@1234
rabbitmqctl set_user_tags admin administrator
rabbitmqctl set_permissions -p / admin "." "." ".*"
rabbitmqctl add_user Username Password
rabbitmqctl delete_user Username
rabbitmqctl change_password Username Newpassword
rabbitmqctl list_users
原文:https://www.cnblogs.com/csp1993/p/14477484.html