Http://hi.baidu.com/snowhilloldman/blog/item/a26830dd76b768205882dd30.html
Installation of a library should not be a spam.ArticleIt's just that I am really miserable and hope the audience can understand it!
Download this library first: (After clicking it, the file name will automatically become rabbitmq-c-aafba2c665b5.tar.gz)Http://hg.rabbitmq.com/rabbitmq-c/archive/tip.tar.gz
The last update time for
[RabbitMQ] 2. Experience summary, Data Summary, and rabbitmq Data SummarySpring AMQP Chinese Document
Http://ju.outofmemory.cn/entry/320538Yunqi community https://yq.aliyun.com/search? Q = rabbitmq type = ARTICLE
RabbitMQ-JAVA common errors, https://yq.aliyun.com/articles/175024Install
environment variables
The service will run well with its default settings. You may need to customize the RABBITMQ environment or edit the configuration.
Run RABBITMQ
The RABBITMQ service starts automatically. You can stop/reinstall/start the RABBITMQ service from the
Windows installationInstall Erland, get EXE installation package via official download page http://www.erlang.org/downloads, open and complete the installation directly.Install RABBITMQ, https://www.rabbitmq.com/download.html get EXE installation package via official download page.When the download is complete, run the installer directly.After the RabbitMQ server installation is complete, it is automa
version installed by yum is too low, the RabbitMQ provided here is the latest version 3.6.10, and the minimum erlang version required is the R16B-03, otherwise the compilation will fail, that is, the above error.
Reinstall erlang.
Reinstall erlang.
Run erlang.
Install socat.
Reinstall RabbitMQ.
The preceding error message shows that the installation failed because of the dependency of
RABBITMQ is based on Erlang, so you must first configure the Erlang environment.
Download the latest Erlang installation package from Erlang's official website http://www.erlang.org/download.html, the version of Linux and MacOSX download is r15b01 Source File (72.0 MB)
My is Mac OSX system so i downloaded the corresponding version of the installation package directly in HTTP://WWW.ERLANG-SOLUTIONS.COM/SECTION/132/DOWNLOAD-ERLANG-OTP, the provi
-simplejsonyum -y install pythonInstall RabbitMQ below, first download to the current directory
wget -nd http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.5/rabbitmq-server-3.1.5.tar.gz
Decompress and start
tar -zxvf rabbitmq-server-3.1.5.tar.gzcd rabbitmq_server-3.1
: This article mainly introduces the principles and Operation examples of RabbitMQ and PHP (1) -- RabbitMQ. if you are interested in PHP tutorials, refer to it. RabbitMQ is a popular open-source message queue system developed in erlang language. it fully implements AMQP (Advanced Message queue protocol ). The website is on: http://www.rabbitmq.com/with tutorials
1. What is RABBITMQMQ (Message queue): A queue of messages that is designed by the server to store a large number of messages and provides a way for the client to operate the queue: the production queue (adding data to the queue), the consumption queue (fetching data from the queue). RABBITMQ is a typical application based on Message Queuing. RABBITMQ In addition to the normal production and consumption
192.168.37.128
Disk node
Mq02
CentOS7
192.168.37.130
Memory nodes
Mq03
CentOS7
192.168.37.131
Memory nodes
Experimental process:++++++ three servers the same operation ++++++1. Turn off the firewall and security features
Systemctl Stop Firewalld.serviceSetenforce 0
2, first modify the host name and hosts file of three servershostnamectl set-hostname mq01bashvim /etc/hosts192.168.37.128 mq01192.168.37.
One: Installation of RABBITMQ:Reference: http://www.blogjava.net/hellxoul/archive/2014/06/25/415135.htmlhttp://blog.haohtml.com/archives/15249Description: Modify the machine name before installing (prepare for the cluster behind)Vi/etc/sysconfig/network Modify NameVi/etc/hosts Modify the address mapping table, such as 192.168.1.112 rabbitmq-node1.com rabbitmq-node1 #做集群时设置Restart1. Install Erlang:#rpm-UVH h
{connect_timeout3nb_get_retry3delay_before_retry3connect_port 5672}}}Start keepalived on two nodes:[[email protected] ~]#/etc/init.d/keepalived startOn the master node, check to see if the VIP is bound to the Ethn NIC on the master node:[[emailprotected]~]#ipadd1:lo:As you can see, the VIP has been successfully bound to the eth1.To view keepalived logs:[[email protected] ~]# tail/var/log/messages[[email protected]~]# ipvsadm-ln # view LVS status, if t
availability of RABBITMQ can be achieved. The effect is that the message entity is actively synchronizing between the mirrored nodes, rather than being temporarily read when consumer consuming data, as in normal mode. The disadvantage is that synchronous communication within the cluster consumes a large amount of network bandwidth.
Structure diagram of RABBITMQEnvironment deployment
IP Address
Host name
Operating Syste
Run and manage RabbitMQ.
Server Management. RabbitMQ is written in Erlang, similar to Jave,Erlang also provides virtual machines,Erlang By nature, the application does not need to know whether or not to communicate with each other on the same machine, which makes RabbitMQ 's cluster and message routing easier. Multiple apps can run on the same node
//The other two units are mq02,mq03
Restart the host for the host name to take effect
Init 6
Shut down the experimental host's firewall and SELinux function (otherwise it will affect the experimental effect) after rebooting
Service Firewalld StopSetenforce 0
Three nodes install RABBITMQ software with Yum
Yum install-y epel-release//installation Epel source
Yum install-y
RABBITMQ can be used as a message agent, its core principle is very simple: to receive and send messages, you can think of it as a post office: We put the letter into the mailbox, the postman will send the letter to your recipient, RABBITMQ is a mailbox, post office, couriers functional complex, The whole process is: The mailbox receives the letter, the Post Office forwards the letter, the couriers delivers
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.