CenterOS Insatall RabbitMQ

CenterOS从源码安装RabbitMQ消息队列!

==========================================
step 1 : 依赖库
==========================================
yum -y install libX* java* tk unixODBC unixODBC-devel
yum -y install ncurses-devel
yum -y install libffi-devel
yum -y install glib*
yum -y install wxGTK
yum -y install xmlto

下载glib-2.30.0安装
./configure --prefix=/usr
make make install

===========================
wxWidgets
==========================
yum -y install gtk2-devel
yum -y install gtk2-engines-devel
yum -y install gtk+extra-devel
yum install *gtk*
./configure
make && make install
#install pango


==========================================
step 2 : erlang
==========================================
wget http://www.erlang.org/download/otp_src_R15B01.tar.gz

./configure --with-named-curses-libs=/lib64/libncurses.so.5 --prefix=/usr/local/erlang
make && make install

=======================================
step 3: rabbitmq
=======================================
手动到官网下载 rabbitmq-server-2.8.2.tar.gz Install
rabbitmq-server-2.8.2.tar.gz
tar zxvf rabbitmq-server-2.8.2.tar.gz
cd rabbitmq-server-2.8.2
make
make TARGET_DIR=/usr/local/rabbitmq SBIN_DIR=/usr/local/rabbitmq/sbin MAN_DIR=/usr/local/rabbitmq/man install

你可能感兴趣的:(rabbitmq)