CentOS installs the latest RabbitMQ 3.7.8

Source: Internet
Author: User

Tags: Alt completed after accessing Comm GitHub guest ini target git

RABBITMQ relies on Erlang,erlang and relies on a lot of packages, installation is very troublesome, you can do the following:

RABBITMQ offers a new Erlang package on GitHub (https://github.com/rabbitmq/erlang-rpm)
Add directly to the Yum Source:

#vim/etc/yumrepos.d/rabbitmq-erlang.repo[rabbitmq-erlang]name=rabbitmq-  Erlangbaseurl=https://DL.BINTRAY.COM/RABBITMQ/RPM/ERLANG/20/EL/7gpgcheck=1  Gpgkey=https://DL.BINTRAY.COM/RABBITMQ/KEYS/RABBITMQ-RELEASE-SIGNING-KEY.ASCrepo_ gpgcheck=0Enabled=1

Press ESC, enter: Wq save.

Input:

#Yum clean all#yum makecache

Then download the latest RABBITMQ RPM package, which can be viewed at the following URL:https://dl.bintray.com/rabbitmq/all/rabbitmq-server/

#wget https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.8/ rabbitmq-server-3.7.8-1.el7.noarch.rpm#yuminstall rabbitmq-server-3.7. 8-1. el7.noarch.rpm

For example, install after the download is complete:

Prompt to download dependencies, enter Y to confirm the download:

Multiple dependencies may appear during the installation process, and you will need to enter the Y acknowledgment as shown below:

Start RABBITMQ:

start RABBITMQ service #service rabbitmq-server start

View RABBITMQ Status:

Status View #rabbitmqctl status

Add the Web Management page plugin and restart:

Enable plugin #rabbitmq-plugins enable rabbitmq_management Restart service #service rabbitmq-server Restart

At this point, the admin interface is already visible using the default http://localhost:15672:

Enter the default account (guest) password (guest) to log in:

Adding a user from the command line or adding a Web page can also:

Add account: Sean Password: password#rabbitmqctl add_user Sean   " .* " " .* " " .* "

The default guest can only log on using localhost.

The new user Sean can be accessed remotely via IP.

You may need to set up a firewall:

# Query port is open firewall-cmd--query-port=15672/tcp# open 15672,5672 Port firewall-cmd--permanent-- add-port=15672/tcpfirewall-cmd--permanent--add-port=5672/TCP Firewall restart firewall- CMD-Reload--------------------- The rest of the firewall operations that may be used: #查看防火墙状态: Firewall-cmd--state# Open Service FIREWALLD start# Restart service firewalld restart# shutdown service firewalld stop# remove port (no action required) firewall-cmd--permanent-- remove-port=15672/tcp

At this point, CentOS installs the latest RABBITMQ end.

CentOS installs the latest RabbitMQ 3.7.8

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: