zoukankan      html  css  js  c++  java
  • Linux安装配置rabbitmq

    gitlab上的安装笔记没有备份,悲剧...重新安装一次,简要记录:

    Step1:安装erlang

    1)下载erlang

    wget http://www.rabbitmq.com/releases/erlang/erlang-19.0.4-1.el7.centos.x86_64.rpm

    2)安装erlang

    rpm -ihv erlang-19.0.4-1.el7.centos.x86_64.rpm

    Step2:安装rabbitmq

    1)下载rabbitmq

    wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-3.6.6-1.el7.noarch.rpm

    2)导入key文件

    rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc

    3)安装rabbitmq

    yum install -y rabbitmq-server-3.6.6-1.el7.noarch.rpm

    Step3:开启可视化插件

    rabbitmq-plugins enable rabbitmq_management

    Step4:添加远程访问用户,并分配权限

    1)添加用户

    rabbitmqctl add_user jiak jiak

    2)配置用户组

    rabbitmqctl set_user_tags jiak administrator

    3)分配权限

    rabbitmqctl set_permissions -p / jiak '.*' '.*' '.*'

    Step5:开启可视化插件并启动服务

    firewall-cmd --zone=public --add-port 5672/tcp 15672/tcp 25672/tcp --permanent
    firewall-cmd --reload
    systemctl start rabbitmq-server

    Step6:开启集群

    本地虚拟机测试暂时没开集群= =后补吧

  • 相关阅读:
    windown reids
    redis 类型、方法
    nginx 路由配置
    http status code
    beego orm mysql
    thinkphp5
    beego
    MAC 更新brew 镜像源
    php session存入redis
    ios项目开发— iOS8 定位功能API改变
  • 原文地址:https://www.cnblogs.com/you-you-111/p/6278896.html
Copyright © 2011-2022 走看看