Linux installation Rabbimq__linux

Source: Internet
Author: User
1. Install Erlang First, install tutorial please see one.

2. To https://github.com/rabbitmq/rabbitmq-server/releases download the latest version, I downloaded is wget https://github.com/rabbitmq/ RABBITMQ-SERVER/RELEASES/DOWNLOAD/V3.7.4/RABBITMQ-SERVER-3.7.4.TAR.XZ, and then unpack.

3. Configure Environment variables
Export Path=/usr/software/bag/rabbitmq_server-3.7.4/sbin: $PATH

4. Common commands
Enable Web Admin interface: Rabbitmq-plugins Enable Rabbitmq_management
Start: rabbitmq-server-detached
OFF: Rabbitmqctl stop
Add User: Rabbitmqctl add_user admin 222333

Set permissions: Rabbitmqctl set_user_tags admin Administrator

Add a user  
Rabbitmqctl add_user Username Password
Delete a user  
rabbitmqctl delete_user Username
Modify the user's password  
rabbitmqctl change_password Username newpassword
View the current user list  
rabbitmqctl list_users
Add a role to the user  
Rabbitmqctl set_user_tags username rolename
User role  
(1) Super Admin (Administrator)  
You can log in to the admin console (with management plugin enabled) to view all the information and to manipulate the user, policy (policy).
(2) monitor (monitoring) &NBSP
can log in to the admin console (management plugin enabled), and view information about the RABBITMQ node (number of processes, memory usage, disk usage, and so on)
(3) The policy-makers (policymaker)  
can be logged into the management console (management plugin enabled) while the policy can be managed. However, you cannot view information about the node (the part of the red box above). In contrast to the administrator, the administrator can see these contents
(4) General Manager (Management)  
can only log on to the management console (management plugin enabled). The node information cannot be seen and the policy cannot be managed.
(5) other  
cannot log on to the management console, which is usually the average producer and consumer.

5. Access to 192.168.1.1:15672 (different IP address) can open the admin page

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.