Ubuntu 16.04 installing rabbitmq

1. Install rabbitmq
    sudo apt-get update  
    sudo apt-get install rabbitmq-server 

2. Basic order
    Start command: sudo service rabbitmq server start
    Close command: sudo service rabbitmq server stop
    Restart command: sudo service rabbitmq server restart
    View status: sudo service rabbitmq server status
3. Configure web plugin
    sudo rabbitmq-plugins enable rabbitmq_management
    Configuration management address: http: // localhost: 15672 / (the default port is 15672, and the default user's guest password is guest. The default user can only access locally.)
4. View users
    sudo rabbitmqctl list_users
5. Add administrator user
    sudo rabbitmqctl add_user admin admin
    sudo rabbitmqctl set_user_tags admin administrator

Recommended Today

Differences between single line and double line layout in flex mobile layout

Here is a single line layout, use UL > Li to layout <ul class=”local-nav”>         <li>             <a href=”#”>                 < span class = “local NAV icon 1″ > < / span > scenic spots             </a>         </li>         <li>             <a href=”#”>                 < span class = “local-nav-icon-icon2″ > < / span > tickets for fun             </a>         </li>         <li>             <a href=”#”>                 < span class = […]