Install RABBITMQ under Linux

Source: Internet
Author: User
Tags rabbitmq

Installing on rpm-based Linux (CentOS, Fedora, OpenSuse, RedHat)

1. Installing Erlang

RPM-IVH http://www.rabbitmq.com/releases/erlang/erlang-17.4-1.el6.x86_64.rpm

2, Installation RABBITMQ

RPM--import https://www.rabbitmq.com/rabbitmq-signing-key-public.ascyum install http: // www.rabbitmq.com/releases/rabbitmq-server/v3.5.4/rabbitmq-server-3.5.4- 1. noarch.rpm-y

3. Modify the Configuration

-Rrabbitmq:rabbitmq/data//usr/lib/rabbitmq/bin/rabbitmq-defaults  --/usr/lib/rabbitmq/bin /rabbitmq-env  Modifying port numbers

4. Start RABBITMQ

Chkconfig rabbitmq-serveron/sbin/service rabbitmq-server stop/start or service RABBITMQ-server start /stop

5, install the monitoring plug-in

Rabbitmq-plugins Enable Rabbitmq_management--Install monitoring plugin

6. Set User

 rabbitmqctl Add_user User1 * * * *-- add user user1 and password rabbitmqctl set_permissions  -p/user1  .*   "  " .*   "  " .*   "--set User1 user/ below permissions Rabbitmqctl List_user _permissions user1 ---- set user1 for administrators Rabbitmqctl delete_user guest -- Delete the default Guest user Rabbitmqctl list_users -- Show all users Rabbitmqctl add_vhost vhost1 --Add a virtual host Vhost1, a virtual host is just a namespace, so you can use multiple users together with a virtual host 

Reference documents:

Http://www.rabbitmq.com/man/rabbitmqctl.1.man.html#User%20management--User management

Http://www.cnblogs.com/daizhj/archive/2010/10/21/1857374.html--Basic settings

http://blog.163.com/[email protected]/blog/static/16476102320107173226920/--the role of virtual hosting

http://www.ttlsa.com/linux/install-rabbitmq-on-linux/--Configuration file

Install RABBITMQ under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.