RPM包安装RabbitMQ
RabbitMQ的安装非常简单,由于RabbitMQ依赖于Erlang,所以需要先安装Erlang,解决依赖关系后,就可以安装RabbitMQ了。注意,在安装Erlang前,需要先安装socat
1、安装socat
yum -y install socat
2、下载RPM包
RabbitMQ:http://www.rabbitmq.com/download.html
erlang:https://www.erlang-solutions.com/resources/download.html
[root@localhost srv]# ll 总用量 23536 -rwxr-xr-x 1 root root 18579348 10月 31 23:33 erlang-19.0.4-1.el6.x86_64.rpm -rwxr-xr-x 1 root root 5520417 10月 31 23:33 rabbitmq-server-3.6.5-1.noarch.rpm
3、安装Erlang
[root@localhost srv]# rpm -ivh erlang-19.0.4-1.el6.x86_64.rpm Preparing... ########################################### [100%] 1:erlang ########################################### [100%]
4、安装RabbitMQ
[root@localhost srv]# rpm -ivh rabbitmq-server-3.6.5-1.noarch.rpm warning: rabbitmq-server-3.6.5-1.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 6026dfca: NOKEY Preparing... ########################################### [100%] 1:rabbitmq-server ########################################### [100%]
本文出自 “zengestudy” 博客,请务必保留此出处http://zengestudy.blog.51cto.com/1702365/1870247
文章来自:http://zengestudy.blog.51cto.com/1702365/1870247