Linux under RABBITMQ installation

Source: Internet
Author: User
Tags rabbitmq

Preparatory work:

Erlang Environment otp_src_19.0.tar.gz

RABBITMQ ABBITMQ-SERVER-GENERIC-UNIX-3.6.5.TAR.XZ

# yum-y Install make GCC gcc-c++ kernel-devel M4 ncurses-devel Openssl-devel
# yum-y Install make GCC gcc-c++ kernel M4 ncurses OpenSSL
#解压otp Package
TAR-ZXVF otp_src_19.0.tar.gz
CD otp_src_19.0
#erlang Environment Installation
./configure--prefix=/usr/local/erlang--with-ssl-enable-threads-enable-smmp-support-enable-kernel-poll-- Enable-hipe--without-javac
Make
Make install
#配置环境变量
Vi/etc/profile
Erlang_home=/usr/local/erlang
Path= $ERLANG _home/bin: $PATH


Installing Rabbitmq-server
#解压 RABBITMQ Bag
TAR-XVF RABBITMQ-SERVER-GENERIC-UNIX-3.6.5.TAR.XZ


CD./rabbitmq_server-3.6.5

CD sbin/

Start

./rabbitmq-server-detached

Enable the Web management interface
./rabbitmq-plugins Enable Rabbitmq_management


Add user

./rabbitmqctl Add_user Test test


Set permissions

./rabbitmqctl set_user_tags Test Administrator

./rabbitmqctl List_users

./rabbitmqctl set_permissions-p/Test '. * '. * '. * '

Test

wget http://127.0.0.1:15672/

Linux under RABBITMQ installation

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.