Installation and monitoring plug-in installation of RABBITMQ in "Linux environment"

Source: Internet
Author: User
Tags rabbitmq

[Note that during the installation process, some commands are not found, just yum isntall a bit.] Here's my success at CentOS release 6.4. installation of RABBITMQ:   RABBITMQ is based on Erlang, so you must first configure the Erlang environment.
    1. Unzip the downloaded Erlang environment in the GZ package tar zxcf *.tar.gz
    2. CD into the extracted folder
    3. Execute./configure-prefix=/opt/erlang will start compiling the installation will be compiled to/opt/erlang
    4. Then execute make and make install
    5. Modify the/etc/profile file to add the following environment variable:#set erlang Environment Export path= $PATH:/opt/erlang/bin
    6. Source profile makes the file effective
    7. If the Erlang environment is installed successfully, enter Erl command, the Exit command for the Erl language is Halt ().
RABBITMQ Installation
    1. Tar zxvfrabbitmq-server-3.3.4.tar.gz/opt unzip to the specified folder
    2. Modify/etc/profile, add environment variable: #set RABBITMQ environment export path= $PATH:/opt/rabbitmq/sbin
    3. Source profile makes the file effective
Enable monitoring management (manage MQ with Web page)
    1. Execute ./rabbitmq-plugin Enable Rabbitmq-management
    2. Restart RABBITMQ
    3. default configuration, you can log in to the HTTP://MQ server address: 15672/

If/ETC/RABBITMQ does not exist, it will report the following error:
Error: {cannot_write_enabled_plugins_file, "/etc/rabbitmq/enabled_plugins", enoent}


Workaround

Mkdir/etc/rabbitmq


The ——————————————————————————————————————————————————————— instructions are as follows: During the use of the problem: using the default account guest login to the management console, but prompted the login failed. Because of security considerations, guest users are only allowed to log on via localhost. So if you log on to a remote RABBITMQ server on a different machine, you need to create a new user, and the new user needs to give the Super Administrator (Administrator) permission some common rabbitmq/sbin/commands to start RABBITMQ./rabbitmq -server-detached stop RABBITMQ./rabbitmqctl stop to view the plugins that are already installed./rabbitmq-plugins List Enable monitoringplugin./rabbitmq-plugins Enable Rabbitmq_managementturn off the monitoring plugin./rabbitmq-plugins Disable Rabbitmq_managementadded 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 Current user list Rabbitmqctl list_users
give Super Administrator privileges./rabbitmqctl set_user_tags NewUser Administrator

Installation and monitoring plug-in installation of RABBITMQ in "Linux environment"

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.