rabbitmq3.10
时间: 2023-11-22 14:50:00 浏览: 164
rabbitmq-server-3.6.10
4星 · 用户满意度95%
为了回答您的问题,我需要先解释一下RabbitMQ是什么。RabbitMQ是一个开源的消息代理,用于通过各种消息协议传递消息。它是使用Erlang编写的,因此在安装RabbitMQ之前,您需要先安装Erlang。
现在回到您的问题,RabbitMQ 3.10版本目前并不存在,最新版本是3.9.7。如果您想安装RabbitMQ 3.9.7,可以按照以下步骤进行操作:
1.安装Erlang
```shell
sudo apt-get update
sudo apt-get install erlang
```
2.导入RabbitMQ GPG密钥
```shell
wget -O- https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc | sudo apt-key add -
```
3.添加RabbitMQ APT存储库
```shell
sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list <<EOF
deb https://dl.bintray.com/rabbitmq-erlang/debian bionic erlang
deb https://dl.bintray.com/rabbitmq/debian bionic main
EOF
```
4.更新APT缓存
```shell
sudo apt-get update
```
5.安装RabbitMQ
```shell
sudo apt-get install rabbitmq-server
```
6.检查RabbitMQ状态
```shell
sudo systemctl status rabbitmq-server
```
如果RabbitMQ正在运行,您应该会看到类似于以下内容的输出:
```shell
● rabbitmq-server.service - RabbitMQ Messaging Server
Loaded: loaded (/lib/systemd/system/rabbitmq-server.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-08-10 08:57:23 UTC; 1 day 2h ago
Main PID: 1234 (beam.smp)
Tasks: 141 (limit: 4915)
CGroup: /system.slice/rabbitmq-server.service
├─1234 /usr/lib/erlang/erts-11.1.8/bin/beam.smp -W w -A 64 -MBas ageffcbf -MHas ageffcbf -MBlmbcs 512 -MHlmbcs 512 -MMmcs 30 -P 1048576 -t 5000000 -stbt db -zdbbl 32000 -K true -B i -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitmq/lib/rabbitmq_server-3.9.7/ebin -noshell -noinput -s rabbit boot -sname rabbit@localhost -boot start_sasl -config /etc/rabbitmq/rabbitmq -kernel inet_default_connect_options [{nodelay,true}] -sasl errlog_type error -sasl sasl_error_logger false -rabbit error_logger {file,"/var/log/rabbitmq/rabbit@localhost.log"} -rabbit sasl_error_logger {file,"/var/log/rabbitmq/rabbit@localhost-sasl.log"} -rabbit enabled_plugins_file /etc/rabbitmq/enabled_plugins -rabbit plugins_dir /usr/lib/rabbitmq/plugins:/usr/lib/rabbitmq/lib/rabbitmq_server-3.9.7/plugins -rabbit plugins_expand_dir /var/lib/rabbitmq/mnesia/rabbit@localhost-plugins-expand -os_mon start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup false -mnesia dir "/var/lib/rabbitmq/mnesia/rabbit@localhost"
├─1393 /usr/lib/erlang/erts-11.1.8/bin/epmd -daemon
├─1557 erl_child_setup 65536
├─1609 inet_gethost 4
└─1610 inet_gethost 4
```
阅读全文