标签:releases glibc lib efi port server get rip 依赖包
一 准备一台虚拟机,可以连接外网,方便下载安装包
二 下载rabbitmq安装包及依赖包
wget https://erlang.org/download/otp_src_22.0.tar.gz
wget http://ftp.gnu.org/gnu/make/make-4.2.tar.gz
wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.17/rabbitmq-server-3.7.17.tar.xz
三 rabbitmq安装步骤
tar -xzf make-4.2.tar.gz
cd make-4.2
./configure
make
make install
cd /usr/bin
mv make make_bak
mv /usr/local/bin/make /usr/bin
make -v 验证版本是否为4.2
tar -xzf otp_src_22.0.tar.gz
cd otp_src_22.0
./configure --prefix=/usr/local/erlang
make
make install
vim /etc/profile
export PATH=$PATH:/usr/local/erlang/bin
source /etc/profile
git config --global http.sslVerify false
git clone https://github.com/elixir-lang/elixir
cd elixir
git checkout v1.7.0
make
make install
export PATH=$PATH:/usr/local/erlang/bin:/root/elixir/bin
tar xvf rabbitmq-server-3.7.17.tar.xz
cd rabbitmq-server-3.7.17
make
make install
vi /root/rabbitmq-server-3.7.17/deps/rabbit/scripts/rabbitmq-server
添加RABBITMQ_PLUGINS_DIR=‘/root/rabbitmq-server-3.7.17/plugins/‘ --打开rabbitmq-server文件并在文件中添加以上内容并保存(要保存在文件中RABBITMQ_PLUGINS_DIR参数前面)
mkdir /etc/rabbitmq
touch /etc/rabbitmq/enabled_plugins --创建rabbitmq目录,并创建enabled_plugins 文件
cd /root/rabbitmq-server-3.7.17/deps/rabbit/scripts
./rabbitmq-server --启动 rabbitmq服务
/root/rabbitmq-server-3.7.17/deps/rabbit/scripts/rabbitmq-plugins enable rabbitmq_management --启动rabbitmq_management
标签:releases glibc lib efi port server get rip 依赖包
原文地址:https://www.cnblogs.com/yekongxingguang/p/13915561.html