firewallStart firewall: Systemctl start Firewalld.service# Firewall-cmd--permanent--add-port={4369/tcp,25672/tcp,5672/tcp}# Firewall-cmd--reloadComponent clustersWe use localhost73 as the primary node and execute the following command on localhost74:localhost74 # Rabbitmqctl Stop_applocalhost74 # rabbitmqctl Join_cluster [email protected]localhost74 # Rabbitmqctl Start_appThen, the localhost75 and localhost76 are executed sequentially.Change node Properties#rabbitmqctl stop_app– Stop
, RabbitMQ will stream the message to the publisher until the memory is consumed back to normal.Vm_memory_high_watermark_paging_ratio: Indicates that when RABBITMQ reaches 0.4*0.75=30%, the system will enable the paging mechanism for content in the queue, and the contents of the message will be paged to disk.RABBITMQ memory usage can be queried through the Rabbitmqctl status or the Web UI in the
, message sequencing, problem tracking, visual management tools, plug-in systems, communityRABBITMQ Best, Activemq second, zeromq worst.Of course zeromq can also do, but they have to manually write code implementation, the amount of code is not small. Especially in reliability: persistence, delivery Confirmation, publisher verification, and high availability .So in reliability and availability, RABBITMQ is
demonstrate that no response message is sent, we need to install a plug-in: Management UI of rabbitmq. Installing this plug-in is relatively simple.
You can go to http://www.rabbitmq.com/management.html to learn more.
Open the browser, http ://Localhost: 55672. Enter the default username and password guest/guest to go to the main interface. There is a lot of information on the interface, we only look at th
Tags: Tag download WPA family Click Apt-get text localhost PassEnvironment configuration
Ubuntu Server 18.04
RabbitMQ 3.6.10
Before installationWe use Apt-get for RABBITMQ installation, before installation, it is strongly recommended that you switch apt source to domestic, greatly increase the speed of download and installation, click to view: "Ubuntu Apt-get and pip domestic source replac
the message from the message queue;
Virtual Host: A virtual host that represents a batch of switches, message queues, and related objects; Each vhost is essentially a mini version of the RABBITMQ server;
Broker: Represents a Message Queuing server entity;
3. RabbitMQ Integration (springboot)
automatic configuration:
rabbitautoconfiguration
automatically configu
(consumer) uses subscription to consume messages in the queue.
The above basic concepts are detailed from the basic concepts of RabbitMQ.
IIInstall RabbitMQ in Windows
1. Download and install erlang (I use otp_win64_19.3)
Http://www.erlang.org/downloads (32 to 64 bit depending on the operating system)
2. Download and install rabbitmq-server (I am using the
@training ~]# source /etc/profile5. Check whether the installation is successful.
Install RabbitMq-Server1, download RabbitMq-Server and unzip
Go to the official site of RabbitMq to find: http://www.rabbitmq.com/download.html
Download the binary file directly.
[root@training software]# wget http://www.rabbitmq.com/releases/ra
Install RabbitMQ and windowsrabbitmq in Windows
Today, we just installed rabbitmq on our machine and summarized the installation experience.
Access to erlang in China is difficult to connect to the official website of RabbitMQ. I have downloaded the resources. You can download the resources if you need them.
Link: https://pan.baidu.com/s/1nuPk4NR password: ge7
completed.
mirrored queues
The RABBITMQ default cluster mode for the above configuration, but does not guarantee the high availability of queues, although the interchange machine, binding these can be replicated to any node in the cluster, but the queue content will not replicate, although the model to solve a project group node pressure, but the queue node downtime directly cause the queue can not be applied, Can only wait for the reboot, so in orde
Refer to the official website:Http://www.rabbitmq.com/install-windows-manual.htmlHttp://www.rabbitmq.com/install-windows.htmlI. Installation of ErlangRabbit MQ is built on the powerful Erlang OTP platform, so installing Rabbit MQ is premised on the installation of Erlang.Download and install ERALNG OTP for Windows (otp_win64_20.0)Second, set environment variablesAdd the System environment variable (also check the normal installation):Have the best, no words to add manually.Third, installation RA
1, apt-get install Rabbitmq-server2. New Admin userRabbitmqctl Add_user Admin AdminRabbitmqctl set_user_tags Admin Administrator3, the installation of RABBITMQ monitoring management plug-in RABBITMQ management, plug-in Rabbitmq_management start successfully after the Web pag
-side management page, RABBITMQ also has a simple administration page, below we can enable it.First Create directory: MKDIR/ETC/RABBITMQFirewalls open 15672 ports and 5672 portsExecute the following command:./rabbitmq-plugins Enable Rabbitmq_managementOk! Now that you're done, you can access the Admin page locally. Enter address in Browser: http://localhost:15672
1. Installing Erlang1) Enable EPEL on your machineExecute the following two lines of command as rootSu-c ' RPM-UVH http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 'Su-c ' yum install foo '2) Enableerlang RepositoryExecute the following command as root (guaranteed to install the latest version Epel)Wget-o/etc/yum.repos.d/epel-erlang.repo Http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo3) Install ErlangExecute the following command as Root2, Installat
ubuntu14.04 installation RABBITMQ and configuration 1, modification/etc/apt/sources.listFile
Command:vi /etc/apt/sources.list
In the last line add:deb http://www.rabbitmq.com/debian/ testing main
2, plusrabbitmqThe public key is trusted
Command:wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
sudo apt-key add rabbitmq-s
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.