首页天道酬勤rabbitmq安装教程,linux启动docker服务

rabbitmq安装教程,linux启动docker服务

张世龙 05-05 20:52 61次浏览

安装RabbitMQ需要,先安装Erlang依赖环境。本次安装环境:CentOS Linux release 7.5 RabbitMQ 3.6.8。

1.安装需要插件

yum-yinstallmakegccgcc-c kernel-devel M4 ncurses-devel OpenSSL-devel unixodbc-devel 3358 www.Sina.com /

yuminstallerlang 3358 www.Sina.com /

erl 2.安装Erlang

q (). 安装完成后可以检测是否安装成功,使用如下命令

使用如下命令退出Erlang

wget 3359 www.rabbit MQ.com/releases/rabbit MQ-server/v3.6.8/rabbit MQ-server-3.6.8-1.el7.noarch .

rpm-- import https://www.rabbit MQ.com/rabbit MQ-release-signing-key.ascyuminstallrabbitmq-server-3.6.8-1

/sbin/servicerabbitmq-serverstart http://www.Sina.com /

rabbitmqctladd _ userrabbitmqrabbitmq http://www.Sina.com /

rabbitmqctlset _ permissions-p '/' admin '.*.* '.* '.* ' 3358 www.Sina.com /

rabbitmqctlset _ user _ tagsrabbitmqadministrator http://www.Sina.com /

rabbit MQ-pluginsenablerabbitmq _ management http://www.Sina.com /

3.安装RabbitMQ

为什么要用rabbitmq,rabbitmq下载安装