1. 설치
wget -O /etc/yum.repos.d/epel-erlang.repo http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo
yum install erlang socat
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.10/rabbitmq-server-3.6.10-1.el6.noarch.rpm
rpm -Uvh rabbitmq-server-3.6.10-1.el6.noarch.rpm
service rabbitmq-server start
rabbitmqctl status
클러스터 구성
기본설치(/var/lib/rabbitmq/.erlang.cookie)시 마스터 cooki 정보를 모든 cluster 복사후 진행
rabbitmqctl join_cluster -ram rabbit@server1
rabbitmqctl change_cluster_node_type disc
rabbitmqctl cluster_status
web plugin
rabbitmq-plugins enable rabbitmq_management
service rabbitmq-server restart
user 생성
rabbitmqctl delete_user guest
rabbitmqctl add_user test1
rabbitmqctl set_user_tags test administrator
2. 설정
/etc/rabbimq/rabbitmq.config
3. plugin
rabbitmq-plugins enable rabbitmq_management -- web ui로 rabbitmq 관리할수 있도록 ( port : 15672 )
100.etc
pip install pika
'기타' 카테고리의 다른 글
ldap 연결확인 (0) | 2017.08.31 |
---|---|
backbone 아키텍처 (0) | 2017.06.19 |
python redis example (0) | 2017.03.26 |
[인증서] java keystore 인증서 (0) | 2017.03.23 |
[인증서] openssl 인증서 (0) | 2017.03.23 |