zoukankan      html  css  js  c++  java
  • RabbitMQ 安装

    1,下载

    wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.13/rabbitmq-server-3.7.13-1.el7.noarch.rpm

    2,解决依赖

    vim /etc/yum.repos.d/rabbitmq-erlang.repo
    [rabbitmq-erlang]
    name=rabbitmq-erlang
    baseurl=https://dl.bintray.com/rabbitmq/rpm/erlang/20/el/7
    gpgcheck=1
    gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
    repo_gpgcheck=0
    enabled=1
    #yum clean all
    #yum makecache
    3,安装
    yum install rabbitmq-server-3.7.13-1.el7.noarch.rpm
     
    4,管理
    启动RabbitMQ服务
    #service rabbitmq-server start
    状态查看 #rabbitmqctl status
    启用插件 #rabbitmq-plugins enable rabbitmq_management
    重启服务 #service rabbitmq-server restart
    添加帐号:name 密码:passwd #rabbitmqctl add_user name passwd
    赋予其administrator角色 #rabbitmqctl set_user_tags name administrator
    设置权限 #rabbitmqctl set_permissions -p / name ".*" ".*" ".*"
     
  • 相关阅读:
    ThreadLocal解析
    AIO,BIO,NIO,IO复用,同步,异步,阻塞和非阻塞
    MySql语句
    《Redis开发与运维》
    项目相关
    垃圾回收相关算法
    垃圾回收概述
    StringTable
    执行引擎
    对象的实例化内存布局和访问定位
  • 原文地址:https://www.cnblogs.com/ligang0357/p/10514165.html
Copyright © 2011-2022 走看看