ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[TOC] ## 1.安装RabbitMQ ### 1.1.配置epel ``` yum install epel-release ``` ### 1.2.安装 rabbitmq-server ``` yum install rabbitmq-server ``` ### 1.3.启动rabbitmq-server ``` # 启动 systemctl start rabbitmq-server # 状态 systemctl status rabbitmq-server # 关闭 systemctl stop rabbitmq-server ``` ### 1.4.配置网页插件 ``` # 启用插件,默认端口为15672 rabbitmq-plugins enable rabbitmq_management ``` ### 1.5.配置账号权限 默认账号密码为`guest/guest` ``` # 添加用户mq,密码mq123 rabbitmqctl add_user mq mq123 # 添加权限 rabbitmqctl set_permissions -p / mq ".*" ".*" ".*" # 修改用户角色 rabbitmqctl set_user_tags mq administrator # 其它操作 # 删除一个用户 rabbitmqctl delete_user Username # 修改用户密码 rabbitmqctl change_password Username Newpassword # 查看当前用户列表 rabbitmqctl list_users ```