虚拟化容器,大数据,DBA,中间件,监控。

How To Install RabbitMQ in CentOS 7

28 05月
作者:admin|分类:应用管理

How To Install RabbitMQ in CentOS 7


In this tutorial we will show you how to install and configuration of RabbitMQ on your CentOS 7 server. For those of you who didn’t know, RabbitMQ is open source message broker software (sometimes called message-oriented middleware) that implements the Advanced Message Queuing Protocol (AMQP). The RabbitMQ server is written in the Erlang programming language and is built on the Open Telecom Platform framework for clustering and failover. Client libraries to interface with the broker are available for all major programming languages.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation RabbitMQ on a CentOS 7 server.

Install RabbitMQ in CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Erlang.

Install Erlang using command:

Step 3. Installing RabbitMQ.

First thing to do is to go to RabbitMQ’s download page and download the latest stable version of RabbitMQ, At the moment of writing this article it is version 3.6.1:

Installing RabbitMQ and related packages is now as simple as running just one command:

To start, stop, restart and check the RabbitMQ status, use the following:

Step 4. Configuring SELinux and Firewall.

We must allow the following ports via SELinux, and Firewall in order to access RabbitMQ remote management console from the remote systems:

Step 5. Access RabbitMQ management console.

RabbitMQ management console will allow you to monitor the server processes via a web browser:

RabbitMQ will be available on HTTP port 15672 by default. Open your favorite browser and navigate to http://yourdomain.com:15672 or http://server-ip:15672 and complete the required the steps to finish the installation.

Congratulation’s! You have successfully installed RabbitMQ server. Thanks for using this tutorial for installing RabbitMQ on CentOS 7 system. For additional help or useful information, we recommend you to check the official RabbitMQ web site.

浏览1872 评论0
返回
目录
返回
首页
How To Install Glances System Monitoring on CentOS7(系统监控) Installing PHP 5.4 on RHEL 6 and CentOS 6