In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
CentOS7 install RabbitMQ3.7 install Erlang
Rabbit mq depends on erlang, so you need to install erlang first, and different versions of rabbit mq have different erlang version requirements.
Here the erlang package provided by rabbit mq is used to install erlang
Add Mirror
Vim / etc/yum.repos.d/rabbitmq_erlang.repo
[rabbitmq_erlang]
Name=rabbitmq_erlang
Baseurl= https://packagecloud.io/rabbitmq/erlang/el/7/$basearch
Repo_gpgcheck=1
Gpgcheck=0
Enabled=1
Gpgkey= https://packagecloud.io/rabbitmq/erlang/gpgkey
Sslverify=1
Sslcacert=/etc/pki/tls/certs/ca-bundle.crt
Metadata_expire=300
[rabbitmq_erlang-source]
Name=rabbitmq_erlang-source
Baseurl= https://packagecloud.io/rabbitmq/erlang/el/7/SRPMS
Repo_gpgcheck=1
Gpgcheck=0
Enabled=1
Gpgkey= https://packagecloud.io/rabbitmq/erlang/gpgkey
Sslverify=1
Sslcacert=/etc/pki/tls/certs/ca-bundle.crt
Metadata_expire=300
Installation
Yum install erlang
Verify that the installation is successful
[xiaoshengyu@localhost ~] $erl
Install rabbit mq
Download rpm
Wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.14/rabbitmq-server-3.7.14-1.el7.noarch.rpm
Import key
Rpm-- import https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc
Installation
Yum install rabbitmq-server-3.7.14-1.el7.noarch.rpm
Note: if the installation fails here, download the dependency package socat locally using wget as prompted, and then install it manually using rpm-ivh
Start
Set up the daemon, which is executed when the system starts
Systemctl enable rabbitmq-server
Start
Systemctl start rabbitmq-server
Stop it
Systemctl stop rabbitmq-server
Installation management interface
Enable rabbitmq_management
Rabbitmq-plugins enable rabbitmq_management
Restart rabbit mq
/ sbin/service rabbitmq-server restart
Check that the http service is enabled, port 15672
Rabbitmqctl status | grep listeners
Create users and authorizations
View existing users
Rabbitmqctl list_users
New user
Rabbitmqctl add_user admin admin
Authorization
Rabbitmqctl set_user_tags admin administrator
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.