centos6.4 rpm rabbitmq安装

http://blog.csdn.net/ljz888666555/article/details/24853573

1,下载安装包,需要下载三个包esl编译的rpm包,esl erlang兼容包和rabbitmq包

       esl erlang rpm包

       esl erlang兼容包 

       rabbitmq rpm包

扫描二维码关注公众号,回复: 338977 查看本文章
  1.   

2,Centos默认缺少依赖包,提示如下错误

   

[python] view plain copy 在CODE上查看代码片 派生到我的代码片
  1. warning: esl-erlang_17.0-1~centos~6_i386.rpm: Header V4 RSA/SHA1 Signature, key ID a14f4fca: NOKEY  
  2. error: Failed dependencies:  
  3.     libodbc.so.2 is needed by esl-erlang-17.0-1.i686  
  4.     libwx_baseu-2.8.so.0 is needed by esl-erlang-17.0-1.i686  
  5.     libwx_baseu-2.8.so.0(WXU_2.8is needed by esl-erlang-17.0-1.i686  
  6.     libwx_baseu_xml-2.8.so.0 is needed by esl-erlang-17.0-1.i686  
  7.     libwx_gtk2u_adv-2.8.so.0 is needed by esl-erlang-17.0-1.i686  
  8.     libwx_gtk2u_adv-2.8.so.0(WXU_2.8is needed by esl-erlang-17.0-1.i686  
  9.     libwx_gtk2u_aui-2.8.so.0 is needed by esl-erlang-17.0-1.i686  
  10.     libwx_gtk2u_aui-2.8.so.0(WXU_2.8is needed by esl-erlang-17.0-1.i686  
  11.     libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5is needed by esl-erlang-17.0-1.i686  
  12.     libwx_gtk2u_core-2.8.so.0 is needed by esl-erlang-17.0-1.i686  
  13.     libwx_gtk2u_core-2.8.so.0(WXU_2.8is needed by esl-erlang-17.0-1.i686  
  14.     libwx_gtk2u_gl-2.8.so.0 is needed by esl-erlang-17.0-1.i686  
  15.     libwx_gtk2u_gl-2.8.so.0(WXU_2.8is needed by esl-erlang-17.0-1.i686  
  16.     libwx_gtk2u_html-2.8.so.0 is needed by esl-erlang-17.0-1.i686  
  17.     libwx_gtk2u_html-2.8.so.0(WXU_2.8is needed by esl-erlang-17.0-1.i686  
  18.     libwx_gtk2u_stc-2.8.so.0 is needed by esl-erlang-17.0-1.i686  
  19.     libwx_gtk2u_stc-2.8.so.0(WXU_2.8is needed by esl-erlang-17.0-1.i686  
  20.     libwx_gtk2u_xrc-2.8.so.0 is needed by esl-erlang-17.0-1.i686  
  21.     libwx_gtk2u_xrc-2.8.so.0(WXU_2.8is needed by esl-erlang-17.0-1.i686  


           手动安装依赖包

        

[python] view plain copy 在CODE上查看代码片 派生到我的代码片
  1. yum install unixODBC unixODBC-devel wxBase wxGTK SDL wxGTK-gl  openssl-devel

 安装 socat

wget no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo
-O /etc/yum.repos.d/convirt.repo
yum makecache
yum install socat

3,依次执行安装命令

    

[python] view plain copy 在CODE上查看代码片 派生到我的代码片
  1. [root@localhost rabbitmq]# rpm -ivh esl-erlang_17.0-1~centos~6_i386.rpm   
  2. [root@localhost rabbitmq]# rpm -ivh esl-erlang-compat-R14B-1.el6.noarch.rpm   
  3. [root@localhost rabbitmq]# rpm -ivh rabbitmq-server-3.3.1-1.noarch.rpm   


4,运行rabbitmq-service

    

猜你喜欢

转载自hunan.iteye.com/blog/2322543