rabbitmq
1、将erlang、rabbitmq包上传
2、执行
- rpm -ivh 包名
3、设置配置文件:
- cp /usr/share/doc/rabbitmq-server-3.4.1/rabbitmq.config.example /etc/rabbitmq/
- mv rabbitmq.config.example rabbitmq.config
- service rabbitmq-server restart
4、开启 web界面管理工具
rabbitmq-plugins enable rabbitmq_management
5、用户管理
- rabbitmqctl add_user {用户名} {密码}
- rabbitmqctl set_user_tags {用户名} {角色}
- 四个角色: [administrator|monitoring|policymakermanagement]
- rabbitmqctl list_users
- rabbitmqctl delete_user Username
6、用户权限
- rabbitmqctl set_permissions -p VHostPath User ConfP WriteP ReadP
- rabbitmqctl list_permissions [-p VHostPath]
- rabbitmqctl list_user_permissions User
- rabbitmqctl clear_permissions [-p VHostPath] User
相关推荐
waitzkj 2020-06-04
zhuxue 2020-10-14
shenzhenzsw 2020-10-09
shyoldboy 2020-09-27
leihui00 2020-09-16
lishijian 2020-08-17
程序员伊成 2020-08-06
ljcsdn 2020-07-27
waitzkj 2020-07-25
powrexly 2020-07-20
liym 2020-07-20
zhoucheng0 2020-07-19
shenzhenzsw 2020-07-18
woaishanguosha 2020-07-18
waitzkj 2020-07-18
zhoucheng0 2020-07-08
json0000 2020-07-04
NVEFLY 2020-07-04