RabbitMQ部署流程

为什么80%的码农都做不了架构师?>>>   hot3.png

RabbitMQ安装

安装Erlang

1、下载推荐的安装包

http://www.rabbitmq.com/releases/erlang/

2、安装

rpm -ivh erlang-17.4-1.el6.x86_64.rpm
  • 可能的报错
error: Failed dependencies:
        libodbc.so.2()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_baseu-2.8.so.0()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_baseu-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_baseu_xml-2.8.so.0()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_adv-2.8.so.0()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_aui-2.8.so.0()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5)(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_core-2.8.so.0()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_gl-2.8.so.0()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_gl-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_html-2.8.so.0()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_stc-2.8.so.0()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_stc-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_xrc-2.8.so.0()(64bit) is needed by esl-erlang-18.2-1.x86_64
        libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit) is needed by esl-erlang-18.2-1.x86_64

安装依赖包
yum install unixODBC unixODBC-devel wxBase wxGTK SDL wxGTK-gl 

安装RabbitMQ Server

rpm --import https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
yum install rabbitmq-server-3.5.7-1.noarch.rpm

启动

修改host

127.0.0.1 hostname

启动

service rabbitmq-server start
  • 日志目录
/var/log/rabbitmq

转载于:https://my.oschina.net/caoge/blog/548242

你可能感兴趣的:(RabbitMQ部署流程)