1.下载ErLang语言
https://github.com/rabbitmq/erlang-rpm/releases
2.下载Rabbitmq-server
https://github.com/rabbitmq/rabbitmq-server/releases
Erlang与Rabbitmq 版本对应
RabbitMQ version | Minimum required Erlang/OTP | Maximum supported Erlang/OTP | Notes |
---|
3.9.4 3.9.3 3.9.2 3.9.1 3.9.0 | 23.2 | 24.x | Erlang/OTP 24 support announcementErlang 24 was released on May 12, 2021Some community plugins and tools may be incompatible with Erlang 24 | 3.8.21 3.8.20 3.8.19 3.8.18 3.8.17 3.8.16 | 23.2 | 24.x | Erlang/OTP 24 support announcementErlang 24 was released on May 12, 2021Some community plugins and tools may be incompatible with Erlang 24 | 3.8.15 3.8.14 3.8.13 3.8.12 3.8.11 3.8.10 3.8.9 | 22.3 | 23.x | Erlang/OTP 23 compatibility notesErlang 23.x is recommendedErlang 22.x dropped support for HiPE | 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 | 21.3 | 23.x | Erlang/OTP 23 compatibility notesErlang 22.x or 23.x is recommendedErlang 22.x dropped support for HiPE | 3.8.3 3.8.2 3.8.1 3.8.0 | 21.3 | 22.x | Erlang 22.x is recommended.Erlang 22.x dropped support for HiPE |
3.上传安装包到Linux服务器
4.安装rpm
sudo yum install -y epel-release
5.安装ErLang
rpm -ivh erlang-18.3-1.el7.centos.x86_64.rpm
6.安装rabbitmq
rpm -ivh rabbitmq-server-3.6.5-1.noarch.rpm
7.启动
sudo systemctl start rabbitmq-server.service # 启动服务
8.启动web管理界面
sudo rabbitmq-plugins enable rabbitmq_management
9.根据需求开放服务器端口(5672,15672,25672等)
10.添加主访问用户
sudo rabbitmqctl add_user user password
sudo rabbitmqctl set_user_tags user administrator
sudo rabbitmqctl set_permissions -p / user ".*" ".*" ".*"
11.登陆管理网站
服务器ip:15672
|