确认redhat版本

rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

缓存上述rpm链接

yum makecache

yum install erlang -y

添加key

#rpm –import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc

#yum install rabbitmq-server-3.5.0-1.noarch.rpm

wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.0/rabbitmq-server-3.5.0-1.noarch.rpm

yum localinstall rabbitmq-server-3.5.0-1.noarch.rpm

chkconfig rabbitmq-server on

service rabbitmq-server start

修改配置文件

cp /usr/share/doc/rabbitmq-server-3.5.0/rabbitmq.config.example /etc/rabbitmq/rabbitmq.config

修改用户配置 让其可以通过远程访问 不限于localhost

{loopback_users, []} 删除前面的注释%%

因为默认用户为guest,要添加其他的管理账户

rabbitmqctl add_user username password

rabbitmqctl set_user_tags username  administrator

rabbitmqctl set_permissions -p / username “.*” “.*” “.*”

上述代码添加了用户 并添加权限为administraror和允许远程访问

1 对 “安装rabbitMQ和rabbitMQ cluster集群”的想法;

  1. Ask your health care provider for the names of these products. retin a Other medical problems may also cause higherthannormal blood glucose levels including Overactive thyroid gland Pancreatic cancer Pancreatitis Rare tumors including pheochromocytomaacromegalyCushing syndrome or glucagonoma Lowerthannormal blood glucose levels hypoglycemia may be due to Hypopituitarism a pituitary gland disorder Underactive thyroid gland Insulinoma very rare Too little food Too much insulin or other diabetes medications Risks Veins and arteries vary in size from one patient to another and from one side of the body to the other.It is amazing how often there is no discharge of fluid at all before the incision while large amounts of discolored brownish or dense yellowish fluid exit the openings of the ejaculatory ducts after.Transfuse as the clinical condi tion demands e.

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*

code