下载安装
下载软件包:wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.3/rabbitmq-server-3.8.3-1.el7.noarch.rpm
rabbitmq需要对应版本的erlang
下载安装erlang:https://d28dx6y1hfq314.cloudfront.net/828/1039/el/7/package_files/699897.rpm?t=1585722645_260c42badcf4c17a1558b7b28d1a10facd32c163
启动服务
启动:
systemctl start rabbitmq-server.service
状态查看:
systemctl status rabbitmq-server.service
重启:
systemctl restart rabbitmq-server.service
管理插件
查看插件状态
rabbitmq-plugins list
修改配置文件/usr/lib/rabbitmq/lib/rabbitmq_server-3.8.3/ebin/rabbit.app
启用网页管理
rabbitmq-plugins enable rabbitmq_management
修改web远程登录和监听端口
{loopback_users, [<<"guest">>]},这里将<<"guest">>删掉
{tcp_listeners, [443]}修改为自己的端口
保存后重启systemctl restart rabbitmq-server