In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
First, download the rpm of erlang and rabbitmq-server:
Http://www.rabbitmq.com/releases/erlang/erlang-19.0.4-1.el7.centos.x86_64.rpm
Http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-3.6.6-1.el7.noarch.rpm
Note: if you encounter slow download, you can try to use the offline download of Baidu cloud disk.
Then, put all the downloaded rpm files into a folder to facilitate installation
Second, install erlang:
Rpm-ivh erlang-19.0.4-1.el7.centos.x86_64.rpm
Test whether the installation is successful:
Third, install rabbitmq:
Rpm-ivh rabbitmq-server-3.6.6-1.el7.noarch.rpm
Prompt to rely on socat when rabbitmq is installed
Yum install socat
Then install rabbitmq again
Go back to the path:
Execute:
/ bin/systemctl stoprabbitmq-server.service # shutdown
/ bin/systemctl start rabbitmq-server.service # launch
/ bin/systemctl status rabbitmq-server.service # status
1. User management
User management includes adding users, deleting users, viewing user lists, and changing user passwords.
Corresponding command
(1) add a new user
Rabbitmqctl add_user Username Password
(1.1) Grant user permissions command
Rabbitmqctl set_permissions-p "/" hjp'. *'
(1.2) assign user role command
Rabbitmqctl set_user_tags hjp administrator
(2) Delete a user
Rabbitmqctl delete_user Username
(3) modify the user's password
Rabbitmqctl change_password Username Newpassword
(4) View the list of current users
Rabbitmqctl list_users
Enable the management UI:
Rabbitmq-plugins enable rabbitmq_managementfirewall-cmd-zone=public-add-port=15672/tcp-permanentfirewall-cmd-reload
Reference: https://www.cnblogs.com/uptothesky/p/6094357.html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.