首页 > 代码库 > Rabbitmq部署
Rabbitmq部署
rabbitmq #centos7 erlang yum -y install ncurses-devel unixODBC-devel openssl-devel ./configure --prefix=/usr/local/erlang checking for tgetent in -ltermcap... no checking for tgetent in -ltermlib... no configure: error: No curses library functions found configure: error: /bin/sh ‘/opt/otp_src_19.1/erts/configure‘ failed for erts #set erlang environment export PATH=$PATH:/usr/local/erlang/bin tar -xf rabbitmq-server-generic-unix-3.6.5.tar mv rabbitmq_server-3.6.5 rabbitmq mv rabbitmq /usr/local/ #set rabbitmq environment export PATH=$PATH:/usr/local/rabbitmq/sbin rabbitmq-server start & mkdir -m 777 /etc/rabbitmq/ rabbitmq-plugins enable rabbitmq_management rabbitmqctl stop 复制通讯的.erlang.cookie scp -r scp -r .erlang.cookie 10.1.1.43:/root/ 集群主节点 rabbitmq-server -detached rabbitmqctl cluster_status 从节点 rabbitmq-server -detached rabbitmqctl stop_app 从做磁盘节点加入 rabbitmqctl join_cluster rabbit@rabbit43 从做内存节点加入 rabbitmqctl join_cluster -ram rabbit@rabbit43
本文出自 “运维笔记” 博客,请务必保留此出处http://phospherus.blog.51cto.com/7824598/1930106
Rabbitmq部署
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。