准备安装包
erlang-18.3-1.el7.centos.x86_64.rpm
rabbitmq-server-3.6.5-1.noarch.rpm
安装服务命令
rpm -ivh erlang-22.2.7-1.el7.x86_64.rpm
rpm -ivh rabbitmq-server-3.8.8-1.el7.noarch.rpm
yum install socat
配置文件模板
默认地点
/usr/share/doc/rabbitmq-server-3.6.5/rabbitmq.config.example
复制到默认配置路径下(默认/etc/rabbitmq)
cp /usr/share/doc/rabbitmq-server-3.6.5/rabbitmq.config.example /etc/rabbitmq/rabbitmq.config
修改配置文件
启动插件管理
rabbitmq-plugins enable rabbitmq_management
启动rabbitMQ
# 启动rabbitmq服务
systemctl start rabbitmq-server
# 重启服务
systemctl restart rabbitmq-server
# 停止服务
systemctl stop rabbitmq-server
是否启动成功
systemctl status rabbitmq-server
访问web管理界面
账号:guest/guest
看上去不错