Socat needs to be installed before installing rabbitmq, otherwise installing rabbitmq directly may result in an error If not found, install the epel source first yum -y install epel-release RabbitMQ needs to match the version of Erlang. See RabbitMQ and the corresponding Erlang version for details. In this article, erlang-20.3.8.20-1.el7 and rabbitmq-server-3.7.6-1.el7 versions are used. Choose erlang-20.3.x to be compatible with the new rabbitMQ3.7.x version Install erlang Use rabbitMQ's mirror address: https://github.com/rabbitmq/erlang-rpm Copy the following content into /etc/yum.repos.d/rabbitmq_erlang.repo file After saving, use yum to download and install. yum install erlang-version number The version number can be obtained by visiting https://packagecloud.io/rabbitmq/erlang to obtain the corresponding version to be installed.
Here I use version 20.3.x so that it is compatible with both MQ versions. yum install erlang-20.3.8.20-1.el7 Download and install rabbitMQ-server Generate rabbitmq_rabbitmq-server.repo file using script execution curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash Or directly copy the following content to the /etc/yum.repos.d/rabbitmq_rabbitmq-server.repo file
yum download and installation By default, yum install rabbitmq-server installs the latest version of rabbitmq. yum install rabbitmq-server-3.7.6-1.el7 After rabbitmq is installed, use
The default web port number of rabbit is 15672 Visit http://ip:15672 to enter the web management page Pay attention to opening external network access. My server is Tencent Cloud Server, so I need to configure the security group policy and add external access policy to open TCP:15672 The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: How to assign default values to fields when querying MySQL
>>: 10 Best Practices for Building and Maintaining Large-Scale Vue.js Projects
systemd: The service systemctl script of CentOS 7...
MySQL will automatically create a database named ...
How to check if the Docker container time zone is...
The docker create command can create a container ...
Table of contents 1. Bootstrap5 breakpoints 1.1 M...
Table of contents 1. Discover the problem 2. Dele...
Table of contents Preface Standard sfc writing me...
The table structure is as follows. There are only...
Summary HTML: element plus v-cloak CSS: [v-cloak]...
The main configuration file of Nginx is nginx.con...
1 Introduction When designing a database, it is i...
Achieve resultsImplementation Code html <input...
Require The div under the body is vertically cent...
First download the compressed package of nacos fr...
Table of contents Overview Functionality and read...