标签:
# vi /etc/yum.repos.d/erlang_solutions.repo
[erlang-solutions] name=Centos 7 - $basearch - Erlang Solutions baseurl=http://packages.erlang-solutions.com/rpm/centos/7/$basearch gpgcheck=1 gpgkey=http://packages.erlang-solutions.com/rpm/erlang_solutions.asc enabled=1
# wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.7/rabbitmq-server-3.5.7-1.noarch.rpm # rpm --import https://www.rabbitmq.com/rabbitmq-signing-key-public.asc # yum -y install rabbitmq-server-3.5.7-1.noarch.rpm
# wget http://www.rabbitmq.com/releases/erlang/erlang-18.1-1.el7.centos.x86_64.rpm # wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.7/rabbitmq-server-3.5.7-1.noarch.rpm # wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc # rpm --import rabbitmq-signing-key-public.asc # rpm -ivh erlang-18.1-1.el7.centos.x86_64.rpm rabbitmq-server-3.5.7-1.noarch.rpm
注: 如果是RedHat6,下载 http://www.rabbitmq.com/releases/erlang/erlang-18.1-1.el6.x86_64.rpm
rabbitmqctl (rabbitmq管理工具)
rabbitmq-plugins (rabbitmq插件管理工具)
rabbitmq-server (rabbitmq服务)
1. enabled_plugins:设置允许的插件列表,格式如下:
2. rabbitmq.config:设置rabbitmq运行参数。结构为hash数组格式。如
3. rabbitmq-env.conf rabbitmq环境参数配置
rabbitmq-env.conf中的每项都以 RABBITMQ_为前缀,常用参数如下: RABBITMQ_NODENAME=FZTEC-240088 //节点名称 RABBITMQ_NODE_IP_ADDRESS=127.0.0.1 //IP地址,空串bind所有地址,指定地址bind指定网络接口 RABBITMQ_NODE_PORT=5672 //TCP端口号,默认是5672 RABBITMQ_LOG_BASE=/data/rabbitmq/log //日志所在路径 RABBITMQ_PLUGINS_DIR=/data/rabbitmq/plugins //插件所在路径 RABBITMQ_MNESIA_BASE=/data/rabbitmq/mnesia //mnesia所在路径
标签:
原文地址:http://www.cnblogs.com/edward2013/p/5061511.html