标签:kconfig 操作 技术 mic linux 默认 sbin erlang wget
RabbitMQ官网:http://www.rabbitmq.com/install-rpm.html
# wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
# rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
# yum install erlang
# wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-3.6.6-1.el7.noarch.rpm
# yum install rabbitmq-server-3.6.6-1.el7.noarch.rpm
# chkconfig rabbitmq-server on -- 添加开机启动RabbitMQ服务
# /sbin/service rabbitmq-server start -- 启动服务
# /sbin/service rabbitmq-server status -- 查看服务状态
# /sbin/service rabbitmq-server stop -- 停止服务
# rabbitmqctl list_users -- 查看当前所有用户
# rabbitmqctl list_user_permissions guest -- 查看用户权限
# rabbitmqctl add_user username password -- 添加新用户
# rabbitmqctl set_user_tags username administrator -- 设置用户tag
# rabbitmqctl set_permissions -p / username ".*" ".*" ".*" -- 赋予用户默认vhost的全部操作权限
# rabbitmq-plugins enable rabbitmq_management -- 开启web管理
RabbitMQ服务启动后,网页输入http://localhost:15672,即可看到客户端网页版
默认用户和密码都为guest
标签:kconfig 操作 技术 mic linux 默认 sbin erlang wget
原文地址:https://www.cnblogs.com/lwcode6/p/13362564.html