rabbitmq 源码安装

2017-12-07  本文已影响0人  好想静静_2970

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

上一篇 下一篇

猜你喜欢

热点阅读