zoukankan      html  css  js  c++  java
  • RabbitMQ的安装和管理

    c:Program Files (x86)RabbitMQ Server abbitmq_server-3.5.1sbin>
    -----------------------------------------------------------------------------------------
    rabbitmqctl.bat forget_cluster_node rabbit@APP02
    rabbitmqctl.bat cluster_status
    rabbitmqctl.bat status
    rabbitmqctl.bat force_boot
    -----------------------------------------------------------------------------------------
    rabbitmq-service.bat start
    rabbitmq-service.bat start
    rabbitmq-service help - Display this help
    rabbitmq-service install - Install the RabbitMQ service
    rabbitmq-service remove - Remove the RabbitMQ service
    rabbitmq-service start - Start the RabbitMQ service
    rabbitmq-service stop - Stop the RabbitMQ service
    rabbitmq-service disable - Disable the RabbitMQ service
    rabbitmq-service enable - Enable the RabbitMQ service

    -----------------------------------------------------------------------------------------
    rabbitmq-server.bat start
    -----------------------------------------------------------------------------------------
    c:Program Files (x86)RabbitMQ Server abbitmq_server-3.5.1sbin>rabbitmqctl.bat
    Usage:
    rabbitmqctl [-n <node>] [-q] <command> [<command options>]

    Options:
    -n node
    -q

    Default node is "rabbit@server", where server is the local host. On a host
    named "server.example.com", the node name of the RabbitMQ Erlang node will
    usually be rabbit@server (unless RABBITMQ_NODENAME has been set to some
    non-default value at broker startup time). The output of hostname -s is usually

    the correct suffix to use after the "@" sign. See rabbitmq-server(1) for
    details of configuring the RabbitMQ broker.

    Quiet output mode is selected with the "-q" flag. Informational messages are
    suppressed when quiet mode is in effect.

    Commands:
    stop [<pid_file>]
    stop_app
    start_app
    wait <pid_file>
    reset
    force_reset
    rotate_logs <suffix>

    join_cluster <clusternode> [--ram]
    cluster_status
    change_cluster_node_type disc | ram
    forget_cluster_node [--offline]
    rename_cluster_node oldnode1 newnode1 [oldnode2] [newnode2 ...]
    update_cluster_nodes clusternode
    force_boot
    sync_queue queue
    cancel_sync_queue queue
    set_cluster_name name

    add_user <username> <password>
    delete_user <username>
    change_password <username> <newpassword>
    clear_password <username>
    set_user_tags <username> <tag> ...
    list_users

    add_vhost <vhostpath>
    delete_vhost <vhostpath>
    list_vhosts [<vhostinfoitem> ...]
    set_permissions [-p <vhostpath>] <user> <conf> <write> <read>
    clear_permissions [-p <vhostpath>] <username>
    list_permissions [-p <vhostpath>]
    list_user_permissions <username>

    set_parameter [-p <vhostpath>] <component_name> <name> <value>
    clear_parameter [-p <vhostpath>] <component_name> <key>
    list_parameters [-p <vhostpath>]

    -----------------------------------------------------------------------------------------
    https://www.rabbitmq.com/clustering.html
    https://www.rabbitmq.com/install-windows.html
    https://www.rabbitmq.com/configure.html

  • 相关阅读:
    PHP中的闭包详解
    PHPDoc 学习记录
    php中注释有关内容
    命名空间 转
    php命名空间学习笔记。
    php命名空间详解
    命名空间
    php作用域限定符
    nginx负载均衡
    naginx安装入门
  • 原文地址:https://www.cnblogs.com/oskb/p/10945061.html
Copyright © 2011-2022 走看看