添加erlang源
vi erlang_solutions.repo
[erlang-solutions]
name=Centos $releasever - $basearch - Erlang Solutions
baseurl=
gpgcheck=1
gpgkey=
enabled=1
添加rabbitmq源
vi bintray-rabbitmq-server.repo
[bintray-rabbitmq-server]
name=bintray-rabbitmq-rpm
baseurl=
gpgcheck=0
repo_gpgcheck=0
enabled=1
rpm --import
安装:
yum install rabbitmq-server
启动:
systemctl start rabbitmq-server
添加插件
rabbitmq-plugins enable rabbitmq_management
添加用户并赋权
rabbitmqctl add_user root root
rabbitmqctl set_user_tags root administrator
rabbitmqctl set_permissions -p / root '.*' '.*' '.*'
正常启动以后,我们可以在本地使用浏览器中访问管理页面:
阅读(30833) | 评论(0) | 转发(0) |