简单记录,晚上回去更新
yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel unixODBC unixODBC-devel httpd python-simplejson
./configure --prefix=/usr/local/erlang --enable-smp-support --enable-threads --enable-sctp --enable-kernel-poll --enable-hipe --with-ssl --without-javac
–prefix 指定安装目录
–enable-smp-support启用对称多处理支持(Symmetric Multi-Processing对称多处理结构的简称)
–enable-threads启用异步线程支持
–enable-sctp启用流控制协议支持(Stream Control Transmission Protocol,流控制传输协议)
–enable-kernel-poll启用Linux内核poll
–enable-hipe启用高性能Erlang –with-ssl 启用ssl包 –without-javac
不用java编译
开始安装编译:
make && make install
export PATH=$PATH:/usr/local/erlang/bin
export PATH=$PATH:/home/pro_install/rabbitmq/rabbitmq/rabbitmq/sbin
source /etc/profile
rabbitmq-server -detached //启动rabbitmq,-detached代表后台守护进程方式启动。
关闭:rabbitmqctl stop
rabbitmqctl status
systemctl stop firewalld
安装插件
./rabbitmq-plugins: 第 27 行:exec: erl: 未找到
source /etc/profile
./rabbitmq-plugins enable rabbitmq_management
Ip+15672