Oct 11, 2021 No Comments Centos7.x yum rpm 安装 Rabbitmq3.6.x And 3.7.x 3.6.x版本: ``` yum clean all; yum makecache; yum install -y epel-release; yum install -y erlang; yum install -y socat; yum install -y logrotate; wget https://github.com/rabbitmq/rabbitmq-server/releases/download/rabbitmq_v3_6_15/rabbitmq-server-3.6.15-1.el7.noarch.rpm rpm -ivh rabbitmq-server-3.6.15-1.el7.noarch.rpm; ``` 修改配置 ``` cp /usr/share/doc/rabbitmq-server-3.6.15/rabbitmq.config.example /etc/rabbitmq/ mv rabbitmq.config.example rabbitmq.config ``` 修改 ``` %%{loopback_users, []},为 {loopback_users, []} ``` 打开插件: ``` rabbitmq-plugins enable rabbitmq_management; ``` 启动服务: ``` systemctl enable rabbitmq-server systemctl start rabbitmq-server ``` 查看所有的队列: ``` rabbitmqctl list_queues ``` 清除所有的队列: ``` rabbitmqctl reset ``` 关闭应用: ``` rabbitmqctl stop_app ``` 启动应用: ``` rabbitmqctl start_app ``` 访问地址:http://localhost:15672 guest guest 最后更新于 2021-10-11 11:18:22 并被添加「」标签,已有 2504 位童鞋阅读过。 本站使用「署名 4.0 国际」创作共享协议,可自由转载、引用,但需署名作者且注明文章出处
此处评论已关闭