zoukankan      html  css  js  c++  java
  • rabbitmq 3.8 版本安装

    1. 在rabbitmq 官网查看依赖关系

    https://www.rabbitmq.com/which-erlang.html
    

      

    2. 下载对应的安装包,下载地址如下:

    https://github.com/rabbitmq/rabbitmq-server/releases
    
    https://github.com/rabbitmq/erlang-rpm/releases
    

    3. 安装rabbitmq 及 erlang

    # yum -y install socat
    # rpm -ivh erlang-23.2.7-1.el7.x86_64.rpm 
    # rpm -ivh rabbitmq-server-3.8.14-1.el7.noarch.rpm
    

      

     4. 启动rabbitmq

    启动命令          

    # systemctl start rabbitmq-server
    

      

    或者使用:

    rabbitmq-server -detached           //启动rabbitmq,-detached代表后台守护进程方式启动
    

      

    查看rabbitmq 状态 ,如图:

    # rabbitmqctl status
    

      

    其他相关命令

    启动服务:rabbitmq-server-detached【rabbitmq-server -detached 】
    
    查看状态:rabbitmqctl status【rabbitmqctl status 】
    
    关闭服务:rabbitmqctl stop【/rabbitmqctl stop 】
    
    列出角色:rabbitmqctl list_users
    

    5. 配置 rabbitmq 监控地址

    # rabbitmq-plugins enable rabbitmq_management
    
    # systemctl stop firewalld.service //关闭防火墙
    
    # rabbitmqctl add_user admin admin  //添加用户
    
    # rabbitmqctl set_permissions -p / admin ".*" ".*" ".*" //添加权限
    
    # rabbitmqctl set_user_tags admin administrator  //修改用户角色
    

      

    访问监控界面

     http://ip:15672/#/

  • 相关阅读:
    csharp: mappings using Dapper-Extensions+Dapper.net.
    SQL Anywhere5.5: Metadata
    Csharp: read Sybase SQL anywhere5.5 using c#
    Sybase SQL anywhere5.5
    Spark基本概念
    Spark之RDD(含Java运行环境配置)
    Spark简介及安装
    Scala编程进阶
    Scala面向对象
    Scala基础
  • 原文地址:https://www.cnblogs.com/royfans/p/14500002.html
Copyright © 2011-2022 走看看