-
移除已安装的rabbitmq-server
# yum remove rabbitmq-server
-
移除已安装的erlang, 另外要移除erlang的其他包
# yum remove erlang # yum list installed | grep erlang # yum remove erlang-asn1 # yum remove erlang-compiler # yum remove erlang-solutions
-
安装erlang的yum repo
# rpm -ivh https://packages.erlang-solutions.com/erlang-solutions-2.0-1.noarch.rpm
-
安装erlang
# yum install erlang
-
安装rabbitmq的yum repo
# curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash # rpm --import https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc # rpm --import https://packagecloud.io/rabbitmq/erlang/gpgkey # rpm --import https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey
-
安装rabbitmq-server
# yum install rabbitmq-server
-
安装delayed_message_exchange plugin
- 到
https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases
去下载对应的plugin - 复制到:
/usr/lib/rabbitmq/lib/rabbitmq_server-3.10.0/plugins
- 启用插件:
rabbitmq-plugins enable rabbitmq_delayed_message_exchange
- 重启rabbitmq服务:
systemctl restart rabbitmq
- 到
暂无评论