IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 大数据 -> centos安装rabbitmq服务 -> 正文阅读

[大数据]centos安装rabbitmq服务

?1、使用yum安装rabbitMQ服务

yum install rabbitmq-server

?*以下是安装的SSH语句

[root@localhost ~]# yum install rabbitmq-server
已加载插件:fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * centos-sclo-rh: mirrors.aliyun.com
 * epel: hkg.mirror.rackspace.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 rabbitmq-server.noarch.0.3.3.5-34.el7 将被 安装
--> 正在处理依赖关系 erlang-sd_notify,它被软件包 rabbitmq-server-3.3.5-34.el7.noarch 需要
--> 正在检查事务
---> 软件包 erlang-sd_notify.x86_64.0.0.1-1.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

============================================================================================================================================
 Package                                架构                         版本                                  源                          大小
============================================================================================================================================
正在安装:
 rabbitmq-server                        noarch                       3.3.5-34.el7                          epel                       4.0 M
为依赖而安装:
 erlang-sd_notify                       x86_64                       0.1-1.el7                             epel                       9.1 k

事务概要
============================================================================================================================================
安装  1 软件包 (+1 依赖软件包)

总下载量:4.0 M
安装大小:4.8 M
Is this ok [y/d/N]: y
Downloading packages:
erlang-sd_notify-0.1-1.el7.x86 FAILED                                          
http://ftp.iij.ad.jp/pub/linux/Fedora/epel/7/x86_64/Packages/e/erlang-sd_notify-0.1-1.el7.x86_64.rpm: [Errno 14] curl#56 - "Recv failure: Connection reset by peer"
正在尝试其它镜像。
(1/2): rabbitmq-server-3.3.5-34.el7.noarch.rpm                                                                       | 4.0 MB  00:00:00     
(2/2): erlang-sd_notify-0.1-1.el7.x86_64.rpm                                                                         | 9.1 kB  00:00:00     
--------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                        4.1 MB/s | 4.0 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : erlang-sd_notify-0.1-1.el7.x86_64                                                                                       1/2 
  正在安装    : rabbitmq-server-3.3.5-34.el7.noarch                                                                                     2/2 
  验证中      : erlang-sd_notify-0.1-1.el7.x86_64                                                                                       1/2 
  验证中      : rabbitmq-server-3.3.5-34.el7.noarch                                                                                     2/2 

已安装:
  rabbitmq-server.noarch 0:3.3.5-34.el7                                                                                                     

作为依赖被安装:
  erlang-sd_notify.x86_64 0:0.1-1.el7                                                                                                       

完毕!

2、启动rabbitMQ服务

service rabbitmq-server start

2.1、可以设置一下开机启动

chkconfig rabbitmq-server on

?3、开启web界面管理工具

rabbitmq-plugins enable rabbitmq_management

?3.1、重启服务

service rabbitmq-server restart

3.2、防火墙开启?15672端口(注意,这个只是web管理页面的端口)

4、开启用户远程访问

启动成功后可以使用 用户名guest 密码guest 登录管理后台

vi /etc/rabbitmq/rabbitmq.config
去掉loopback_user {},前的 百分号
#注意要去掉后面的逗号。

  大数据 最新文章
实现Kafka至少消费一次
亚马逊云科技:还在苦于ETL?Zero ETL的时代
初探MapReduce
【SpringBoot框架篇】32.基于注解+redis实现
Elasticsearch:如何减少 Elasticsearch 集
Go redis操作
Redis面试题
专题五 Redis高并发场景
基于GBase8s和Calcite的多数据源查询
Redis——底层数据结构原理
上一篇文章      下一篇文章      查看所有文章
加:2021-07-22 14:16:32  更:2021-07-22 14:18:06 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年5日历 -2024/5/6 9:22:39-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码