rabbitmq 源码安装
yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel
wget http://erlang.org/download/otp_src_19.3.tar.gz
cd otp_src_19.3
./configure --prefix=/opt/erlang
make && make install
vim /etc/profile
source /etc/profile
export PATH=$PATH:/opt/erlang/bin
erl
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.1/rabbitmq-server-generic-unix-3.6.1.tar.xz
tar zxvf rabbitmq-server-generic-unix-3.6.1.tar.xz
xz -d rabbitmq-server-generic-unix-3.6.1.tar.xz
tar -xvf rabbitmq-server-generic-unix-3.6.1.tar
mv rabbitmq_server-3.6.1/ /usr/local/
vim /etc/profile
export PATH=$PATH:/usr/local/rabbitmq_server-3.6.1/sbin
source /etc/profile
./rabbitmq-server -detached
./rabbitmqctl status
./rabbitmqctl stop
mkdir /etc/rabbitmq
./rabbitmq-plugins enable rabbitmq_management
rabbitmqctl add_user hooli hooli
rabbitmqctl set_permissions -p "/" hooli ".*" ".*" ".*"
rabbitmqctl set_user_tags hooli administrator
运维QQ交流群:171586999