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