作者:mobiledu2502876651 | 来源:互联网 | 2023-06-06 17:38
安装基础环境安装Erlang安装RabbitMQ安装socat(如果安装RabbitMQ报错就安装,我在安装的时候没有安装也能成功)启用管理员启动RabbitMQ启动管控台(用户名
安装基础环境
yum install net-tools
yum install yum
yum install gcc glibc-devel make ncurses-devel openssl-devel xmlto
安装 Erlang
wget http://www.rabbitmq.com/releases/erlang/erlang-19.0.4-1.el7.centos.x86_64.rpm
yum install erlang-19.0.4-1.el7.centos.x86_64.rpm
安装 RabbitMQ
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.8/rabbitmq-server-3.6.8-1.el6.noarch.rpm
yum install rabbitmq-server-3.6.8-1.el6.noarch.rpm
安装 socat (如果安装 RabbitMQ 报错就安装,我在安装的时候没有安装也能成功 )
wget https://mirrors.aliyun.com/centos/7.5.1804/os/x86_64/Packages/socat-1.7.3.2-2.el7.x86_64.rpm
yum install
启用管理员
vim /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.8/ebin/rabbit.app
启动 RabbitMQ
启动管控台(用户名和密码都是 guest,访问机器 IP:15672 即可,15672 是默认端口 )
rabbitmq-plugins enable rabbitmq_management
停止 RabbitMQ
RabbitMQ 环境搭建