REDHAT7 installation RABBITMQ

Source: Internet
Author: User

Yum way to add Erlang sources

# Vi/etc/yum.repos.d/erlang_solutions.repo

[erlang-solutions]name=centos 7-$basearch- Erlang solutionsbaseurl=http://  packages.erlang-solutions.com/rpm/centos/7/$basearchgpgcheck=1gpgkey=http:// packages.erlang-solutions.com/rpm/erlang_solutions.ascenabled=1
Installing RABBITMQ
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.ASCYuminstall rabbitmq-server-3.5. 7-1. noarch.rpm
Manual rpm mode installation RABBITMQ
# 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  -ivh erlang-18.1-1. el7.centos.x86_64.rpm rabbitmq-server-3.5. 7-1. noarch.rpm

Note: If it is RedHat6, download http://www.rabbitmq.com/releases/erlang/erlang-18.1-1.el6.x86_64.rpm

RABBITMQ Configuration

Rabbitmqctl (RABBITMQ management tool)
Rabbitmq-plugins (RABBITMQ plugin management tool)
Rabbitmq-server (RABBITMQ Service)

Primary configuration Files

1. Enabled_plugins: Set the list of allowed plugins in the following format:

2. Rabbitmq.config: Set RABBITMQ run parameters. The structure is in hash array format. Such as

3. rabbitmq-env.conf RABBITMQ Environment parameter configuration

rabbitmq-Enveach item in the. conf is prefixed with rabbitmq_ and the common parameters are as follows: Rabbitmq_nodename=fztec-240088 //Node namerabbitmq_node_ip_address=127.0.0.1 //IP Address, empty string bind all addresses, specify address bind specified network interfacerabbitmq_node_port=5672 //TCP port number, default is 5672Rabbitmq_log_base=/data/rabbitmq/log//The path where the log is locatedRabbitmq_plugins_dir=/data/rabbitmq/plugins//The path where the plug-inRabbitmq_mnesia_base=/data/rabbitmq/mnesia//The path where the Mnesia

Rabbitmq-env.conf and Rabbitmq.config do not exist by default. Rabbitmq-env.conf need to create one manually in the default location. Rabbitmq.config need to create one manually at the Rabbitmq_config_file specified location.

REDHAT7 installation RABBITMQ

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.