美文网首页
rabbitmq 源码安装

rabbitmq 源码安装

作者: 好想静静_2970 | 来源:发表于2017-12-07 15:49 被阅读0次

    yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel

    wget http://erlang.org/download/otp_src_19.3.tar.gz

    cd otp_src_19.3

    ./configure --prefix=/opt/erlang

    make && make install

    vim /etc/profile

    source /etc/profile

    export PATH=$PATH:/opt/erlang/bin

    erl

    wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.1/rabbitmq-server-generic-unix-3.6.1.tar.xz

    tar zxvf rabbitmq-server-generic-unix-3.6.1.tar.xz

    xz -d rabbitmq-server-generic-unix-3.6.1.tar.xz

    tar -xvf rabbitmq-server-generic-unix-3.6.1.tar

    mv rabbitmq_server-3.6.1/ /usr/local/

    vim /etc/profile

    export PATH=$PATH:/usr/local/rabbitmq_server-3.6.1/sbin

    source /etc/profile

    ./rabbitmq-server -detached

    ./rabbitmqctl status

    ./rabbitmqctl stop

    mkdir /etc/rabbitmq

    ./rabbitmq-plugins enable rabbitmq_management

    rabbitmqctl add_user hooli hooli

    rabbitmqctl set_permissions -p "/" hooli ".*" ".*" ".*"

    rabbitmqctl set_user_tags hooli administrator

    运维QQ交流群:171586999

    相关文章

      网友评论

          本文标题:rabbitmq 源码安装

          本文链接:https://www.haomeiwen.com/subject/jczdixtx.html