tar -xzvf otp_src_20.1.tar.gz
cd /opt/otp_src_20.1/
mkdit /opt/erlang
./configure --prefix=/opt/erlang
make && make install
sudo yum install ncurses-devel.x86_64
vi /etc/profile
export PATH=$PATH:/opt/erlang/bin
source /etc/profile
erl
xz -d rabbitmq-server-generic-unix-3.6.15.tar.xz
vi /etc/profile
export PATH=$PATH:/opt/rabbitmq/sbin
source /etc/profile
./rabbitmq-server -detached
./rabbitmqctl status
./rabbitmqctl stop
mkdir /etc/rabbitmq
./rabbitmq-plugins enable rabbitmq_management
./rabbitmq-server -detached
cd opt/rabbitmq/sbin
./rabbitmq-server –detached
rabbitmqctl status
rabbitmqctl stop
rabbitmqctl list_users
rabbitmqctl list_user_permissions guest
rabbitmqctl add_user admin 123456
rabbitmqctl set_user_tags admin administrator rabbitmqctl set_permissions -p "/" admin ".*" ".*" ".*"