linux-radhat-rabbitmq-集群

本人linux系统版本是centos6.8

1.先安装Erlang

Erlang包下载地址: https://www.erlang-solutions.com/resources/download.html ,具体安装哪个版本可以对照 http://www.rabbitmq.com/which-erlang.html 

将下载好的安装包上传至服务器,输入以下命令:

rpm -Uvh /opt/software/esl-erlang_20.3.6-1_centos_6_amd64.rpm

如果报错

error: Failed dependencies:
        libGL.so.1()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libGLU.so.1()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_baseu-2.8.so.0()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_baseu-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_baseu_xml-2.8.so.0()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_adv-2.8.so.0()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_aui-2.8.so.0()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5)(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_core-2.8.so.0()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_core-2.8.so.0(WXU_2.8.10)(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_gl-2.8.so.0()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_gl-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_html-2.8.so.0()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_stc-2.8.so.0()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_stc-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_xrc-2.8.so.0()(64bit) is needed by esl-erlang-20.3.6-1.x86_64
        libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-20.3.6-1.x86_64

安装依赖

yum install unixODBC unixODBC-devel wxBase wxGTK SDL wxGTK-gl

如果EPEL存储库未启则需要下载(根据自己的系统版本选择):https://fedoraproject.org/wiki/EPEL/zh-cn  

然后执行

rpm -Uvh /opt/software/epel-release-latest-6.noarch.rpm
yum install erlang

2.安装RabbitMQ

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

猜你喜欢

转载自www.cnblogs.com/syuf/p/9210010.html