赞
踩
erlang-22.3.2-1.el8.x86_64.rpm
socat-1.7.3.2-6.el8.x86_64.rpm (rabbitmq-server依赖)
rabbitmq-server-3.8.3-1.el8.noarch.rpm
RabbitMQ Erlang版本要求
https://www.rabbitmq.com/which-erlang.html
erlang
https://github.com/rabbitmq/erlang-rpm/releases
https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/22/el/8/x86_64/
socat
https://centos.pkgs.org/8/centos-appstream-x86_64/socat-1.7.3.2-6.el8.x86_64.rpm.html
http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/socat-1.7.3.2-6.el8.x86_64.rpm
rabbitmq-server
https://github.com/rabbitmq/rabbitmq-server/releases/
https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.8.x/el/8/noarch/
1、上传3个安装文件至服务器,如目录:/opt/rabbitmq
[root@dev1 /]# cd /opt/rabbitmq/
[root@dev1 rabbitmq]# yum install ./erlang-22.3.2-1.el8.x86_64.rpm
[root@dev1 rabbitmq]# yum install ./socat-1.7.3.2-6.el8.x86_64.rpm
[root@dev1 rabbitmq]# yum install ./rabbitmq-server-3.8.3-1.el8.noarch.rpm
启动服务
service rabbitmq-server start
关闭服务
service rabbitmq-server stop
查看状态
service rabbitmq-server status
重启
service rabbitmq-server restart
启动服务
[root@dev1 rabbitmq]# service rabbitmq-server start
Redirecting to /bin/systemctl start rabbitmq-server.service
启用插件页面管理
[root@dev1 rabbitmq]# rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit@dev1:
rabbitmq_management
The following plugins have been configured:
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
Applying plugin configuration to rabbit@dev1...
The following plugins have been enabled:
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
started 3 plugins.
创建用户
[root@dev1 rabbitmq]# rabbitmqctl add_user admin admin
Adding user "admin" ...
赋予权限
[root@dev1 rabbitmq]# rabbitmqctl set_user_tags admin administrator
Setting tags for user "admin" to [administrator] ...
[root@dev1 rabbitmq]# rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
Setting permissions for user "admin" in vhost "/" ...
浏览器访问http://IP:15672
[root@dev1 rabbitmq]# service rabbitmq-server stop
[root@dev1 rabbitmq]# yum list rabbitmq-server
[root@dev1 rabbitmq]# yum remove rabbitmq-server
[root@dev1 rabbitmq]# yum list socat
[root@dev1 rabbitmq]# yum remove socat
[root@dev1 rabbitmq]# yum list erlang
[root@dev1 rabbitmq]# yum remove erlang
官网
官网下载 (Downloads on GitHub)
https://www.rabbitmq.com/download.html
Installing on Windows
https://www.rabbitmq.com/install-windows.html
Installing on RPM-based Linux (RedHat Enterprise Linux, CentOS, Fedora, openSUSE)
https://www.rabbitmq.com/install-rpm.html
官网文档
https://www.rabbitmq.com/documentation.html
RabbitMQ Tutorials
https://www.rabbitmq.com/getstarted.html
AMQP 0-9-1 Model Explained
https://www.rabbitmq.com/tutorials/amqp-concepts.html
RabbitMQ 中文文档
http://rabbitmq.mr-ping.com/
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。