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.

Unzip the downloaded Erlang environment in the GZ package tar zxcf *.tar.gz
CD into the extracted folder
Execute. Www2.qixoo.com/configure-prefix=/opt/erlang will start compiling the installation will be compiled to/opt/erlang
Then execute make and make install
Modify the/etc/profile file to add the following environment variable: #set Erlang Environment Export path= $PATH:/opt/erlang/bin
Source profile makes the file effective
To test whether the Erlang environment is installed successfully, enter the Erl command, and the Erl language Exit command is halt ().

RABBITMQ Installation

Tar zxvfrabbitmq-server-3.3.4.tar.gz/opt unzip to the specified folder
Modify/etc/profile, add environment variable: #set RABBITMQ Environment Export path= $PATH:/opt/rabbitmq/sbin
Source profile makes the file effective



Enable monitoring management (manage MQ with Web page)

Execute./rabbitmq-plugin Enable Rabbitmq-management
Restart RABBITMQ
Default configuration, you can log in

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

———————————————————————————————————————————————————————
Instructions for use are as follows:
Problems during use: 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 another machine, you need to create a new user, and the new user needs to give the Super Administrator (Administrator) permission

Some of the common rabbitmq/sbin/commands
Start RABBITMQ./rabbitmq-server-detached
Stop RABBITMQ./rabbitmqctl stop
View the plugins that are already installed./rabbitmq-plugins List
Enable the monitoring plug-in./rabbitmq-plugins Enable Rabbitmq_management
Turn off the monitoring plugin./rabbitmq-plugins Disable rabbitmq_management
Added 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.