[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