Configure rabbitmq in centos 6.5

Source: Internet
Author: User

Configure the Erlang dependency environment first

yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel

Install Erlang 16b03

rpm --import http://binaries.erlang-solutions.com/debian/erlang_solutions.asc  wget -O /etc/yum.repos.d/erlang_solutions.repo  http://binaries.erlang-solutions.com/rpm/centos/erlang_solutions.repo  wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpmrpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt  rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm  yum update  yum update --skip-broken  yum install erlang

In this case, enter ERL to check whether the Erlang environment is configured successfully.

Install rabbitmq 3.3.4 and enable Web Management

wget -c http://www.rabbitmq.com/releases/rabbitmq-server/v3.3.4/rabbitmq-server-3.3.4-1.noarch.rpmyum install rabbitmq-server-3.3.4-1.noarch.rpmrabbitmq-plugins enable rabbitmq_managementservice rabbitmq-server start

Add Admin users. I do not know why the built-in Guest cannot be logged in.

rabbitmqctl add_user admin adminrabbitmqctl set_user_tags admin administrator

Configure auto-start

Add service rabbitmq-Server start to/etc/rc. d/rc. Local

Use IP: 15672 to log on.

 

References:

Http://blog.csdn.net/leekwen/article/details/23333659

 

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.

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.