[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./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
- If the Erlang environment is installed successfully, enter Erl command, the Exit command for the Erl language 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 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"