[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"