1. Installing Erlang
Install dependent environments
Yum-y install make GCC gcc-c++ kernel-devel M4 ncurses-devel openssl-devel Unixodbc-devel
Download the latest Erlang 19.0
wget http://erlang.org/download/otp_src_19.0.tar.gz
Extract
Tar-xvzf otp_src_19.0.tar.gz
Configuration
./configure--prefix=/usr/local/erlang--with-ssl-enable-threads-enable-smmp-support-enable-kernel-poll-- Enable-hipe--without-javac
Make
Make install
Configure/etc/profile
Erlang_home=/usr/local/erlang
Path= $PATH: $JAVA _home/bin: $ERLANG _home/bin
Make it effective
Source/etc/profile
Echo $PATH
Inspection of Erl
[Email protected] sbin]# Erl
ERLANG/OTP [erts-8.0] [source] [64-bit] [async-threads:10] [hipe] [Kernel-poll:false]
Eshell V8.0 (abort with ^g)
2. Installing RABBITMQ
wget HTTP://WWW.RABBITMQ.COM/RELEASES/RABBITMQ-SERVER/V3.6.3/RABBITMQ-SERVER-GENERIC-UNIX-3.6.3.TAR.XZ
Xz-drabbitmq-server-generic-unix-3.6.3.tar.xz
Tar-xvfrabbitmq-server-generic-unix-3.6.3.tar
CD./rabbitmq_server-3.6.3
CD sbin/
Enable the Web management interface
./rabbitmq-plugins Enable Rabbitmq_management
Start
./rabbitmq-server-detached
Add user
./rabbitmqctl Add_user Admin 111111
Set permissions
./rabbitmqctl Set_user_tags Admin Administrator
Browser access
ip:15672
At this point, the subsequent calls to the application are added
Linux CentOS 7 Installation RabbitMQ 3.6.3, Erlang 19.0