美文网首页
RabbitMQ in Ubuntu

RabbitMQ in Ubuntu

作者: 老虎Alex | 来源:发表于2016-01-05 13:44 被阅读43次

    1.添加以下地址到/etc/apt/sources.list

    deb http://www.rabbitmq.com/debian/ testing main

    2.添加public key:在命令行窗口中输入:

    wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc

    sudo apt-key add rabbitmq-signing-key-public.asc

    3.update

    sudo apt-get update

    4.安装

    sudo apt-get install rabbitmq-server

    5.一些常用的命令

    启动:sudo rabbitmq-server start

    关闭: sudo rabbitmq-server stop

    查看状态:sudo rabbitmqctl status

    6.安装pika

    sudo apt-get install python-pip git-core

    sudo pip install pika==0.9.8

    相关文章

      网友评论

          本文标题:RabbitMQ in Ubuntu

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