#yum install unixODBC-devel openssl-devel ncurses-devel 系统自带
#wget http://www.erlang.org/download/otp_src_17.0.tar.gz
[[email protected] ~]# cat /etc/bashrc
export ERL_HOME=/opt/erlang
export PATH=$PATH:$ERL_HOME/bin
#source /etc/bashrc
#./configure --prefix=/opt/erlang --without-javac
# make
#make install
测试
[[email protected] ~]# /opt/erlang/bin/erl
Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.0 (abort with ^G)
1> EvenN = lists:filter (fun (N) -> N rem 2 == 0 end, lists:seq(1,100)).
[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,
44,46,48,50,52,54,56,58|...]
2>
#wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.9/rabbitmq-server-generic-unix-3.6.9.tar.xz
#tar -xvf rabbitmq-server-generic-unix-3.6.9.tar.xz
#cd rabbitmq_server-3.6.9
启动RabbitMQ服务并在后台运行
./sbin/rabbitmq-server start -detached
安装web管理插件
./sbin/rabbitmq-plugins enable rabbitmq_management
创建RabbitMQ用户
./sbin/rabbitmqctl add_user admin admin
设定账号权限
./sbin/rabbitmqctl set_user_tags admin administrator
查看用户列表
./sbin/rabbitmqctl list_users