[In linux] RabbitMq installation and monitoring plug-in Installation

Source: Internet
Author: User

[In linux] RabbitMq installation and monitoring plug-in Installation
[Note that some commands not found are prompted during the installation process. Just click yum isntall.] The following is a successful test in CentOS release 6.4. RabbitMq installation: RabbitMQ is based on Erlang, so you must first configure the Erlang environment. Decompress and download the gz package tar zxcf * .tar.gz cd from the Erlang environment to the decompressed folder. /configure-prefix =/opt/erlang will start compilation and installation, compile it to/opt/erlang, and then execute make and make install to modify the/etc/profile file, add the following environment variable: # set erlang environment export PATH = $ PATH:/opt/erlang/binsource profile to make the file take effect and test whether the Erlang environment is successfully installed. Enter the erl command, the exit command of erl language is halt (). rabbitmq install tar zxvfrabbitmq-server-3.3.4.tar.gz/opt unzip to the specified folder to modify/etc/profile, add environment variable: # set rabbitmq environment export PATH = $ PATH:/opt/rabbitmq/sbinsource profile to enable monitoring and management of files (using Web Page Management MQ) for execution. /rabbitmq-plugin enable rabbitmq-management restart the default configuration of rabbitmq, you can log on to http: // mq server address: 15672/If/etc/rabbitmq does not exist, the following Error will be reported: Error: {cannot_write_enabled_plugins_file, "/etc/rabbitmq/enabled_plugins", enoent} solves the following problems: log on to the management console using the default account guest, but the system prompts that the logon failed. For security reasons, guest users can only use localhost for login. Therefore, if you log on to the remote rabbitmq server on another machine, you need to create a new user, and the new user needs to grant the super administrator permission to some commonly used commands under rabbitmq/sbin/to start RabbitMQ. /rabbitmq-server-detached to stop RabbitMQ. /rabbitmqctl stop to view installed plug-ins. /rabbitmq-plugins list enable monitoring plug-in. /rabbitmq-plugins enable rabbitmq_management to disable the monitoring plug-in. /rabbitmq-plugins disable Users 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 grant super administrator permissions. /rabbitmqctl set_user_tags newuser administrator

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.