官术网_书友最值得收藏!

Advanced RabbitMQ setups

The Docker-based setup described in the preceding section allows you to get started quickly and are also (with a few adjustments) suitable for production setups. If you do not want to use Docker for your message broker, you can also install RabbitMQ on most common Linux distribution from package repositories. For example, on Ubuntu and Debian, you can install RabbitMQ using the following commands:

$ echo 'deb http://www.rabbitmq.com/debian/ testing main' | \ 
    sudo tee /etc/apt/sources.list.d/rabbitmq.list 
$ wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | \ 
    sudo apt-key add - 
$ apt-get update 
$ apt-get install -y rabbitmq-server 

Similar commands also work on CentOS and RHEL:

$ rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc 
$ yum install rabbitmq-server-3.6.6-1.noarch.rpm 

For a production setup, you might want to consider setting up RabbitMQ as a cluster to ensure high availability. Take a look at the official documentation at http://www.rabbitmq.com/clustering.html for more information on how to set up a RabbitMQ cluster.

主站蜘蛛池模板: 修文县| 固安县| 林芝县| 平原县| 新乡县| 临澧县| 谢通门县| 张家川| 理塘县| 邵阳县| 隆尧县| 临桂县| 望奎县| 麦盖提县| 名山县| 宁晋县| 高要市| 惠州市| 霍州市| 珠海市| 怀柔区| 平舆县| 宜兰县| 咸丰县| 镇巴县| 大庆市| 浦北县| 彭阳县| 阳城县| 安图县| 临沧市| 达尔| 沅江市| 修武县| 安陆市| 合阳县| 石景山区| 巨鹿县| 水富县| 合水县| 西畴县|