{"id":7036,"date":"2017-10-01T21:52:25","date_gmt":"2017-10-01T13:52:25","guid":{"rendered":"http:\/\/rmohan.com\/?p=7036"},"modified":"2017-10-01T21:52:25","modified_gmt":"2017-10-01T13:52:25","slug":"rabbitmq-installation-deployment","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=7036","title":{"rendered":"RabbitMQ installation deployment"},"content":{"rendered":"<p>RabbitMQ installation deployment<\/p>\n<p>This article mainly introduces the installation of rabbitmq-server-3.6.12 deployment<\/p>\n<p># Check if the old version of the software has been installed<\/p>\n<p>rpm-qa | grep erlang<br \/>\nrpm -qa | grep rabbitmq<br \/>\n# If yum installed before the rabbitmq may have the old version of the software, you need to uninstall and then install<\/p>\n<p>yum remove erlang-R14B erlang-erts -y<br \/>\n# Configure rabbitmq required yum source (epel source)<\/p>\n<p>su -c &#8216; rpm -Uvh http: \/\/ download. Fedora project.org\/pub\/epel\/6\/i386\/epel-release-6-8.noarch.rpm &#8216;<br \/>\n# Install the specified version of rabbitmq<\/p>\n<p>wget http: \/\/ www.rabbitmq.com\/releases\/erlang\/erlang-19.0.4-1.el6.x86_64.rpm<br \/>\nwget http: \/\/ www.rabbitmq.com\/releases\/rabbitmq-server\/v3.6.12\/rabbitmq -server-3.6.12-1.el6.noarch.rpm<br \/>\nyum  install erlang- 19.0 . 4 &#8211; 1 .el6.x86_64.rpm &#8211; y<br \/>\n yum  install rabbitmq-server- 3.6 . 12 &#8211; 1 .el6.noarch.rpm -y<br \/>\n# Start rabbitmq and configure the boot from the start<\/p>\n<p>service rabbitmq- server start<br \/>\n ps -ef | grep rabbitmq<br \/>\nchkconfig rabbitmq &#8211; server on<br \/>\nchkconfig &#8211;list rabbitmq-server<br \/>\n# Set the rabbitmq enabled feature<\/p>\n<p>rabbitmq- plugins enable rabbitmq_management<br \/>\nservice rabbitmq -server restart<br \/>\n# The default user password for the guest, you can create a new rabbitmq user and authorize<\/p>\n<p>rabbitmqctl add_user admin 123456<br \/>\nrabbitmqctl set_user_tags admin administrator<br \/>\nrabbitmqctl set_permissions -p &#8221; \/ &#8221; admin &#8221; . * &#8221;  &#8221; . * &#8221;  &#8221; . * &#8221;<br \/>\n# Create other users nice<\/p>\n<p>rabbitmqctl add_user nice  123456<br \/>\nrabbitmqctl add_vhost nice<br \/>\nrabbitmqctl set_user_tags nice administrator<br \/>\nrabbitmqctl set_permissions -p &#8221; nice &#8221;  nice  &#8221; . * &#8221;  &#8221; . * &#8221;  &#8221; . * &#8221;<br \/>\nCan visit: http: \/\/ IP: 15672<\/p>\n<p>complete<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RabbitMQ installation deployment<\/p>\n<p>This article mainly introduces the installation of rabbitmq-server-3.6.12 deployment<\/p>\n<p># Check if the old version of the software has been installed<\/p>\n<p>rpm-qa | grep erlang rpm -qa | grep rabbitmq # If yum installed before the rabbitmq may have the old version of the software, you need to uninstall and then install<\/p>\n<p> [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7036"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7036"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7036\/revisions"}],"predecessor-version":[{"id":7037,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7036\/revisions\/7037"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}