当前位置:   article > 正文

CentOS8 离线安装 rabbitmq-3.8_rabbitmq-server-3.8.3-1.el8.noarch.rpm

rabbitmq-server-3.8.3-1.el8.noarch.rpm

CentOS8 在线安装 rabbitmq-3.8

一、安装文件

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

官网

https://www.rabbitmq.com/

官网下载 (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/

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/584164
推荐阅读
相关标签
  

闽ICP备14008679号