http://blog.csdn.net/ljz888666555/article/details/24853573
1,下载安装包,需要下载三个包esl编译的rpm包,esl erlang兼容包和rabbitmq包
2,Centos默认缺少依赖包,提示如下错误
- warning: esl-erlang_17.0-1~centos~6_i386.rpm: Header V4 RSA/SHA1 Signature, key ID a14f4fca: NOKEY
- error: Failed dependencies:
- libodbc.so.2 is needed by esl-erlang-17.0-1.i686
- libwx_baseu-2.8.so.0 is needed by esl-erlang-17.0-1.i686
- libwx_baseu-2.8.so.0(WXU_2.8) is needed by esl-erlang-17.0-1.i686
- libwx_baseu_xml-2.8.so.0 is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_adv-2.8.so.0 is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_adv-2.8.so.0(WXU_2.8) is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_aui-2.8.so.0 is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_aui-2.8.so.0(WXU_2.8) is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5) is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_core-2.8.so.0 is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_core-2.8.so.0(WXU_2.8) is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_gl-2.8.so.0 is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_gl-2.8.so.0(WXU_2.8) is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_html-2.8.so.0 is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_html-2.8.so.0(WXU_2.8) is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_stc-2.8.so.0 is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_stc-2.8.so.0(WXU_2.8) is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_xrc-2.8.so.0 is needed by esl-erlang-17.0-1.i686
- libwx_gtk2u_xrc-2.8.so.0(WXU_2.8) is needed by esl-erlang-17.0-1.i686
手动安装依赖包
- 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,依次执行安装命令
- [root@localhost rabbitmq]# rpm -ivh esl-erlang_17.0-1~centos~6_i386.rpm
- [root@localhost rabbitmq]# rpm -ivh esl-erlang-compat-R14B-1.el6.noarch.rpm
- [root@localhost rabbitmq]# rpm -ivh rabbitmq-server-3.3.1-1.noarch.rpm
4,运行rabbitmq-service