Ubuntu 16.04 Installation RABBITMQ (standalone version)

Source: Internet
Author: User
Tags rabbitmq

Description

1, if it is to do rabbitmq aspects of the development, it is recommended not to understand the cluster installation and deployment, first installed a stand-alone version, as soon as possible familiar with the features and features inside. After all, a standalone version supports a fairly high level of QPS. Similarly, the cluster mode does not have the imagined multi-point replication, later you will find that the cluster is also based on the single-machine mode.

2, for the RABBITMQ function and characteristics of learning, such as configuration there are two forms: web page and command line; it is recommended not to configure two kinds of interspersed, first familiar with one, the functions and features are configured once familiar with, then use another to the previous configuration once , such as a useful command line, all configurations are based on the command line, are proficient and then go to the Web page for configuration, and are configured on the Web page as previously configured on the command line.

3, online tutorials and official tutorials are basically based on the command line, so you can start from the command line, web tutorials are relatively small, but my way of learning is based on the web version. and the most authoritative information in this regard is reading or the last officer net.

4, the next is the development of functions, such as docking MQ, send and receive MQ and so on.

5, in the middle of the development if you encounter the function to realize the need for third-party plug-in support, do not worry about installing plug-ins, see the online use of the original function can be achieved, such as turning a bend can be achieved. If the implementation is not possible, then consider installing the plug-in, for example, to implement a delay queue, the network has a lot of ideas to use the original plan to implement the way to achieve, so there is no need to install third-party plug-ins to implement.

6, after the above function and function development, you can consider the configuration cluster, has been the performance of various aspects of tuning and so on high-performance configuration scheme.

7, regarding the version issue, if is the single-machine function development use, may install the newest, but the generation Environment recommends installs the most people to use the stable edition.

Installation:

Installing RABBITMQ under Ubuntu is relatively straightforward, there are two main ways, the Deb package and apt source, and there is no big difference between them. Similarly, there are two types of installation in CentOS, RPM packages and Yum sources.

1. Install the RABBITMQ service package

sudo Install Rabbitmq-server

2. Add the user in RABBITMQ after the installation is complete

sudo rabbitmqctl add_user username password

Set the user as an administrator (only administrators can log on remotely)

sudo rabbitmqctl set_user_tags username Administrator

Also set permissions for users to read and write

" .* " " .* " " .* "

3, start RABBITMQ Monitoring management plug-in for RABBITMQ management

sudo rabbitmq-plugins enable rabbitmq_management

Plug-in rabbitmq_management can be used to monitor and manage RABBITMQ through Web pages after successful startup.

4. Monitor and manage with the Rabbitmq_management plugin

Browser Login: http://localhost:15672

Log in to the login page using guest/guest login RABBITMQ management system, in the system can be RABBITMQ service channel, queue, users and other management

Note: The Guest account cannot be telnet. If remote access is not available or Telnet check is not 5672, Port 15672 is not open.

5, simplify the 2nd step of the idea, in the local use Guest account login, and then add users and permissions on the Web page, but only if you install the kind of desktop, for the server can only use the command line.

Reference:

Https://www.cnblogs.com/hongdada/p/7203589.html

Https://www.cnblogs.com/liuchuanfeng/p/6813205.html (the above content is transferred from this article)

Http://www.rabbitmq.com/install-debian.html

Ubuntu 16.04 Installation RABBITMQ (standalone version)

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.