Rabbitmq 的安装流程
Rabbitmq 的安装流程
yum -y install gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel
yum -y install erlang
yum -y install rabbitmq-server
service rabbitmq-server start
chkconfig rabbitmq-server on
/usr/lib/rabbitmq/bin/rabbitmq-plugins enable rabbitmq_management
/usr/lib/rabbitmq/lib/rabbitmq_server-3.1.5/sbin/rabbitmq-plugins enable rabbitmq_management
rabbitmqctl stop_app
rabbitmqctl rabbit\@IP地址
rabbitmqctl start_app
iptables -I INPUT -p tcp --dport 5672 -j ACCEPT
iptables -I INPUT -p tcp --dport 15672 -j ACCEPT
/etc/rc.d/init.d/iptables save
iptables -L -n
发表评论