在安装RabbitMQ之前,需要先安装erlang,如下:
yum install ncurses-devel wget http://www.erlang.org/download/otp_src_17.1.tar.gz tar zxvf otp_src_17.1.tar.gz
解压tar.gz包后,编译安装
cd otp_src_17.1 ./configure make && make install
在CentOS 7下的具体安装过程可以参考:http://www.rabbitmq.com/install-rpm.html
wget -c http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.1/rabbitmq-server-3.6.1-1.noarch.rpm rpm --import https://www.rabbitmq.com/rabbitmq-signing-key-public.asc yum install rabbitmq-server-3.6.1-1.noarch.rpm
时间: 2024-10-25 11:04:48