[Linux] CentOS installs rabbitmq and centosrabbitmq

Source: Internet
Author: User

[Linux] CentOS installs rabbitmq and centosrabbitmq

1. Install the pre-Environment
Yum install zlib
Yum install mesa *
Yum install freeglut *
Yum install pkgconfig
Yum-y install gtk2-devel binutils-devel
Yum-y install make ncurses-devel gcc-c ++ unixODBC-devel openssl-devel

Ii. Install wxWidgets
Download: http://www.wxwidgets.org/downloads/
Enter the decompressed directory./configure -- with-opengl -- enable-debug -- enable-unicode
Compile and install make & make install


Iii. Erlang Installation
Download Erlang http://www.erlang.org/download/otp_src_18.3.tar.gz
Configure and install. /configure -- prefix =/opt/soft/erlang -- with-ssl-enable-threads-enable-smmp-support-enable-kernel-poll -- enable-hipe -- without-javac
./Configure -- prefix =/opt/soft/erlang -- enable-smp-support -- enable-threads -- enable-sctp -- enable-kernel-poll -- enable-hipe -- with-ssl
./Configure -- prefix =/opt/soft/erlang -- without-javac
Compile and install make & make install
Configure the environment variable vim/etc/profile and add: ERLANG_HOME =/usr/local/erlang PATH = $ ERLANG_HOME/bin: $ PATH export ERLANG_HOME export PATH
Refresh configuration source/etc/profile
Run erl to check whether the installation is successful.


Iv. rabbitmq-server Installation
Dependency package xmlto yum install xmlto rpm -- import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc (which signature seems to be imported)
Wget https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.2/rabbitmq-server-3.6.2-1.noarch.rpm
Yum install rabbitmq-server-3.6.2-1.noarch.rpm


Install The web plug-in management interface mkdir/etc/rabbitmq-plugins enable rabbitmq_management The following plugins have been enabled: mochiweb webmachine rabbitmq_web_dispatch amqp_client
Rabbitmq_management_agent rabbitmq_management Plugin configuration has changed. Restart RabbitMQ for changes to take effect. [root @ rabbitmqmaster sbin] # ls/etc/rabbitmq enabled_plugins


Start rabbitmq-server start
The host name cannot be found. vim/etc/hosts 127.0.0.1 localhost $ {hostName}


Guest/guest Login localhost: 15672

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.