• RabbitMQ 安装 socat dependency 解决办法


    rpm -ivh rabbitmq-server-3.6.9-1.el6.noarch.rpm
    error: Failed dependencies:
    socat is needed by rabbitmq-server-3.6.9-1.el6.noarch

    Step 1:

    wget --no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo -O /etc/yum.repos.d/convirt.repo

    wget --no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo -O /etc/yum.repos.d/convirt.repo
    --2017-03-31 14:57:37-- http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo
    正在解析主机 www.convirture.com... 69.195.93.219
    正在连接 www.convirture.com|69.195.93.219|:80... 已连接。
    已发出 HTTP 请求,正在等待回应... 200 OK
    长度:184 [text/plain]
    正在保存至: “/etc/yum.repos.d/convirt.repo”

    Step 2:

    yum makecache

    Step 3:

    yum install socat

    yum install socat
    已加载插件:fastestmirror, security
    设置安装进程
    Loading mirror speeds from cached hostfile
    * base: mirrors.163.com
    * extras: mirrors.163.com
    * updates: mirrors.zju.edu.cn
    解决依赖关系
    --> 执行事务检查
    ---> Package socat.x86_64 0:1.7.1.3-1.el6.rf will be 安装
    --> 完成依赖关系计算

    依赖关系解决

    ==============================================
    软件包 架构 版本 仓库 大小
    ==============================================
    正在安装:
    socat x86_64 1.7.1.3-1.el6.rf convirt-dep 325 k

    事务概要
    ==============================================
    Install 1 Package(s)

    总下载量:325 k
    Installed size: 1.3 M
    确定吗?[y/N]:y
    下载软件包:
    socat-1.7.1.3-1.el6.rf.x86_64.rpm | 325 kB 00:02
    运行 rpm_check_debug
    执行事务测试
    事务测试成功
    执行事务
    正在安装 : socat-1.7.1.3-1.el6.rf.x86_64 1/1
    Verifying : socat-1.7.1.3-1.el6.rf.x86_64 1/1

    已安装:
    socat.x86_64 0:1.7.1.3-1.el6.rf

    装好后就可以安装 rabbitMQ 了。

     rpm -ivh rabbitmq-server-3.6.9-1.el6.noarch.rpm

    rpm -ivh rabbitmq-server-3.6.9-1.el6.noarch.rpm
    Preparing...           ########################################### [100%]
    1:rabbitmq-server ########################################### [100%]

    启动:

    ./rabbitmq-server start
    Starting rabbitmq-server: SUCCESS
    rabbitmq-server.

    看下状态:

    [xxx]# /sbin/service rabbitmq-server status
    Status of node 'xxx' ...
    [{pid,10298},
    {running_applications,
    [{rabbitmq_management,"RabbitMQ Management Console","3.6.9"},
    {rabbitmq_web_dispatch,"RabbitMQ Web Dispatcher","3.6.9"},
    {inets,"INETS CXC 138 49","6.3.4"},
    {cowboy,"Small, fast, modular HTTP server.","1.0.4"},
    {cowlib,"Support library for manipulating Web protocols.","1.0.2"},
    {rabbitmq_management_agent,"RabbitMQ Management Agent","3.6.9"},
    {rabbit,"RabbitMQ","3.6.9"},
    {mnesia,"MNESIA CXC 138 12","4.14.2"},
    {amqp_client,"RabbitMQ AMQP Client","3.6.9"},
    {rabbit_common,

    如果要安装web管理,执行以下指令:

     rabbitmq-plugins enable rabbitmq_management

    然后就可以访问:

    http://locahost:15672

    注意:firewall 的设定。

    成功的第一步。

  • 相关阅读:
    银行存钱取钱余额的图形程序
    centos7 的httpd的问题
    idea创建springboot项目初始化失败解决方案
    Spring Boot之yaml配置注入基本使用
    idea修改Java注释的颜色
    IDEA常用快捷键及修改快捷键
    WordPress Markdown编辑器插件:WP Githuber MD
    Docker安装solo博客部署到云服务器教程
    Spring Boot 定制个性 banner
    Java类型转换
  • 原文地址:https://www.cnblogs.com/ray30th/p/6651800.html
Copyright © 2020-2023  润新知