[In linux] RabbitMq installation and monitoring plug-in installation, linuxrabbitmq
[Note that some commands not found are prompted during the installation process. Just run yum isntall.]Below is my close-up test under CentOS release 6.4.RabbitMq installation: RabbitMQ is based on Erlang, so the Erlang environment must be configured first.
Rabbitmq InstallationEnable monitoring management (using web pages to manage MQ)
If/etc/rabbitmq does not exist, the following error will be reported:
Error: {cannot_write_enabled_plugins_file, "/etc/rabbitmq/enabled_plugins", enoent}
Solution
|
Mkdir/etc/rabbitmq |
------------------------------------------------------- Usage instructions: problems during use: use the default account guest to log on to the Management Console, but prompt logon failure. 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 rabbitmq_management adds 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 permission./rabbitmqctl set_user_tags newuser administrator