# erlang编译安装

yum install -y gcc ncurses-devel openssl-devel

rsync -avzP soft.ops.ac.cn::ops1970/rabbitmq/otp_src_18.3 .

./configure --prefix=/opt/erlang    --without-javac
make
make install
ln -s /opt/erlang/bin/erl /usr/local/bin/erl

echo '
ERL_HOME=/opt/erlang
PATH=$ERL_HOME/bin:$PATH
export ERL_HOME PATH
' >> /etc/profile


http://soft.ops.ac.cn/rabbitmq/rabbit-mq_server-3.6.6.tar.gz


rabbitmq https://github.com/judasn/Linux-Tutorial/blob/master/RabbitMQ-Install-And-Settings.md

# openssl编译安装
wget https://www.openssl.org/source/openssl-1.1.0b.tar.gz
tar xzf openssl-1.1.0b.tar.gz
cd openssl-1.1.0b

./Configure no-ssl2 no-ssl3 shared enable-ec_nistp_64_gcc_128
./config --prefix=/opt/openssl no-ssl2 no-ssl3 shared enable-ec_nistp_64_gcc_128
...
make -j 8
...
make test
...
suod make install

# rabbitmq-env.conf

RABBITMQ_NODENAME=mq
RABBITMQ_NODE_IP_ADDRESS=0.0.0.0
RABBITMQ_NODE_PORT=5672 
RABBITMQ_LOG_BASE=/applog
RABBITMQ_PLUGINS_DIR=/usr/local/rabbitmq/plugins 插件目录
RABBITMQ_MNESIA_BASE=/appdata


# 日志目录
/usr/local/rabbitmq/var/log/rabbitmq/rabbit@23a4be01639f.log


# 安装文进
yum install gcc
soft.ops.ac.cn::ops1970/rabbitmq/otp_src_18.3


docker 

/appdata /usr/local/rabbitmq/var/lib/rabbitmq
/applog /usr/local/rabbitmq/var/log/rabbitmq
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""