ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Rabbitmq安装 系统:centos 7.0,内核:3.10.0 登录Rabbitmq官网 1.安装Rabbitmq需要安装Erlang [https://www.rabbitmq.com/install-rpm.html#install-erlang](https://www.rabbitmq.com/install-rpm.html#install-erlang) 必须先导入rabbitmq签名密钥,然后才能使用yum存储库。这使得RPM工具信任存储库中提供的包上的签名 ~~~ rpm --import https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc ~~~ 配置yum源: vim /etc/yum.repos.d/rabbitmq.repo ~~~ [bintray-rabbitmq-server] name=bintray-rabbitmq-rpm baseurl=https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.7.x/el/7/ gpgcheck=0 repo_gpgcheck=0 enabled=1 ~~~ 下载Rabbitmq和安装 [https://www.rabbitmq.com/install-rpm.html#downloads](https://www.rabbitmq.com/install-rpm.html#downloads) ![](https://img.kancloud.cn/15/95/159587af212ab6b16ec6d513c967f3b5_1040x735.png) ~~~ > rpm -ivh rabbitmq-server-3.8.0-1.el7.noarch.rpm #安装 > /sbin/service rabbitmq-server start #启动 > /sbin/service rabbitmq-server stop #停止 > systemctl enable rabbitmq-server #开机自动启动 ~~~ 2.配置管理界面 ``` rabbitmq-plugins enable rabbitmq_management #开启管理页面 rabbitmqctl add_user username pwd #添加账号和密码 rabbitmqctl set_user_tags username administrator #授权账号为管理员 rabbitmqctl list_users #查看用户 ``` 3.浏览器输入服务器http://服务器ip:1521 ![](https://img.kancloud.cn/ae/ac/aeac5dd52c0fbf351a4e9ca000e21d2a_829x229.png) 输入账号密码登录: ![](https://img.kancloud.cn/5d/d2/5dd2453aec0767bb7400c8b80d1ea9cd_1066x253.png)