1 安装erlang
(1)更新erlang仓库
wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
(2)安装erlang
sudo yum install erlang
2 安装依赖包yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-dev socat
3 安装rabbitmq
wget https://dl.bintray.com/rabbitmq/rabbitmq-server-rpm/rabbitmq-server-3.6.12-1.el7.noarch.rpm
rpm -ivh rabbitmq-server-3.6.12-1.el7.noarch.rpm
4 使能web
rabbitmq-plugins enable rabbitmq_management
5 启动
rabbitmq-server start
时间: 2024-11-09 01:51:58