CentOS 7 Installation RABBITMQ 3.3

Source: Internet
Author: User
Tags xml parser rabbitmq


1. Installation of Erlang language environment

Installing dependent files

#yum Install Ncurses-devel

Go to http://www.erlang.org/download.html Select source file download

wget http://www.erlang.org/download/otp_src_17.1.tar.gz
Tar zxvf otp_src_17.1.tar.gz
CD otp_src_17.1    

After the installation is completed, the ERL is executed to see if the Eshell can be opened with ' Halt (). ' Exit, note the trailing dot, which is the end of Erlang.

[Email protected] src]# Erl
ERLANG/OTP [erts-6.1] [source] [64-bit] [async-threads:10] [hipe] [Kernel-poll:false]

Eshell V6.1 (abort with ^g)
2> 9+3.
3> Halt ().

2, Installation RABBITMQ
Install dependent files:

Yum Install Xmlto

Enter http://www.rabbitmq.com/download.html Select the latest source package

#wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.3.4/rabbitmq-server-3.3.4.tar.gz

#tar ZXVF rabbitmq-server-3.3.4.tar.gz

#cd rabbitmq-server-3.3.4

#make target_dir=/usr/rabbitmq sbin_dir=/usr/rabbitmq/sbin Man_dir=/usr/rabbitmq/man DOC_INSTALL_DIR=/USR/RABBITMQ /doc

#make target_dir=/usr/rabbitmq sbin_dir=/usr/rabbitmq/sbin Man_dir=/usr/rabbitmq/man DOC_INSTALL_DIR=/USR/RABBITMQ /doc Install

3. Start Rabbitmq-server


#/usr/rabbitmq/sbin/rabbitmq-server  -detached

View RABBITMQ Status:



#/usr/rabbitmq/sbin/rabbitmqctl Stop

4, check the status of RABBITMQ service start, and open the corresponding management plug-in RABBITMQ

[Email protected] sbin]#./RABBITMQCTL status
Status of node [email protected] ...
{running_applications,[{rabbit, "RabbitMQ", "3.3.4"},
{Os_mon, "CPO CXC 138 46", "2.2.15"},
{Xmerl, "XML parser", "1.3.7"},
{Mnesia, "Mnesia CXC 138 12", "4.12.1"},
{SASL, "SASL CXC 138 11", "2.4"},
{stdlib, "ERTS CXC 138 10", "2.1"},
{kernel, "ERTS CXC 138 10", "3.0.1"}]},
{erlang_version, "ERLANG/OTP [erts-6.1] [source] [64-bit] [async-threads:30] [hipe] [kernel-poll:true]\n"},
{listeners,[{clustering,25672, "::"},{amqp,5672, "::"}]},
... done.
[[email protected] sbin]#./rabbitmq-plugins List
[] Amqp_client 3.3.4
[] Cowboy 0.5.0-rmq3.3.4-git4b93c2d
[] Eldap 3.3.4-gite309de4
[] Mochiweb 2.7.0-rmq3.3.4-git680dba8
[] Rabbitmq_amqp1_0 3.3.4
[] Rabbitmq_auth_backend_ldap 3.3.4
[] Rabbitmq_auth_mechanism_ssl 3.3.4
[] Rabbitmq_consistent_hash_exchange 3.3.4
[] Rabbitmq_federation 3.3.4
[] Rabbitmq_federation_management 3.3.4
[] Rabbitmq_management 3.3.4
[] Rabbitmq_management_agent 3.3.4
[] Rabbitmq_management_visualiser 3.3.4
[] Rabbitmq_mqtt 3.3.4
[] Rabbitmq_shovel 3.3.4
[] Rabbitmq_shovel_management 3.3.4
[] Rabbitmq_stomp 3.3.4
[] Rabbitmq_test 3.3.4
[] rabbitmq_tracing 3.3.4
[] Rabbitmq_web_dispatch 3.3.4
[] Rabbitmq_web_stomp 3.3.4
[] Rabbitmq_web_stomp_examples 3.3.4
[] Sockjs 0.3.4-RMQ3.3.4-GIT3132EB9
[] Webmachine 1.10.3-rmq3.3.4-gite9359c7
[Email protected] sbin]#
Run the following command, add user admin, password admin

[[email protected] sbin]#./rabbitmqctl Add_user Admin Admin
Creating user "admin" ...
... done.
[Email protected] sbin]#/rabbitmqctl set_user_tags admin Administraotr
Setting tags for the user "admin" to [ADMINISTRAOTR] ...
... done.
[Email protected] sbin]#/rabbitmqctl list_users
Listing users ...
Guest [Administrator]
... done.

NET RABBITMQ Practice [configuration Chapter]

NET RABBITMQ Practice [Example]

NET under RABBITMQ practice [WCF Publishing Article]

NET under RABBITMQ Practice [actual combat article]

RabbitMQ C # Tutorial

[Erlang 0086] RabbitMQ clusters: Starting from scratch

CentOS 7 Installation RABBITMQ 3.3

Related Article

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.