CENTOS7 installation rabbitMQ3.6.0

Source: Internet
Author: User
Tags install openssl

Erlang and rabbitmq3.6.0 in the article

http://pan.baidu.com/s/1c2Nn64w

?

CENTOS7 system Operation
cd/etc/ yum.repos.d/

mv Centos-base.repo Centos-base.repo_back

wget-o/etc/ Yum.repos.d/centos-base.repo http://mirrors.aliyun.com/repo/centos-7.repo

yum makecache

yum Clean all

source

Generate cache

clear old cache

vim/etc/ Sudoers

liuyy   all= (All)       All

Modify the use of sudo permissions

switch to root role

edit sudoers file

find

root    all= (all)       All

add: liuyy   all= (All)       All

sudo yum install gcc Installing GCC
sudo yum install gcc-c++ Installing the C + + compiler

Unzip Pcre-8.38.zip

CD pcre-8.38

sudo./configure--prefix=/usr/local/application/system/pcre

sudo make

sudo make install

Compiling and installing Pcre
Erlang Installation

sudo Yum install OpenSSL

sudo Yum Install Ncurses-devel

sudo Yum Install Openssl-devel

sudo yum install unixodbc-devel

erlang Dependency Package

rz  erlang_src_18.3.tar.gz

tar- zxvf erlang_src_18.3.tar.gz

cd otp_src_18.3/

sudo./configure-- prefix=/usr/local/application/erlang --with-ssl --enable-threads --enable-smp-support -- Enable-kernel-poll --enable-hipe --without-javac

sudo make

sudo make install

Unzip and go to the folder

Compile the source code and install it, pay attention to install the dependent package

RABBITMQ Installation
sudo yum install Xmlto RABBITMQ Install dependent Packages
RZ RABBITMQ-SERVER-GENERIC-UNIX-3.6.0.TAR.XZ Upload 3.6.0 RABBITMQ

Xz-d RABBITMQ-SERVER-GENERIC-UNIX-3.6.0.TAR.XZ

TAR-XVF rabbitmq-server-generic-unix-3.6.0.tar-c/usr/local/application/

MV rabbitmq_server-3.6.0 RABBITMQ

Upload, unzip, rename

Environment variables

sudo vim/etc/profile

Export path= $PATH:/usr/local/application/erlang/bin

Export path= $PATH:/usr/local/application/rabbitmq/sbin

Add a bin reference to Erlang

Add Sbin reference to RABBITMQ

Source/etc/profile Apply Environment variables
Rabbit command operation

Cd/usr/local/application/rabbitmq

./rabbitmq-server-detached

Background boot
./rabbitmq-plugins Enable Rabbitmq_management Start the management console
./rabbitmqctl Add_user Admin Admin Create an account with an account name password of admin
./rabbitmqctl set_user_tags Administrator Set the admin permissions to administrator
Firewall-cmd--zone=public--add-port=15672/tcp--permanent Open 15672 port number, allow extranet access to RABBITMQ console
Firewall-cmd--reload Restart

Access in Browser: http://localhost:15672/

User name password: admin/admin

Login successful

CENTOS7 installation rabbitMQ3.6.0

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.