
双击资料中提供的 otp_win64_22.1.exe ,选择对应安装目录,一路下一步,完成安装。
设置Erlang环境变量
(1)新建ERLANG_HOME
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Q8KwXu5q-1679070536579)(imgs\1585755246863.png)]
(2)修改环境变量path,增加Erlang变量至path,%ERLANG_HOME%\bin;
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-6Hj1d4Cc-1679070536580)(imgs\1585755661841.png)]
(3)打开cmd命令框,输入erl,如果能看到版本号,则Erlang安装完成。
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-S9JJWCVq-1679070536580)(imgs\1585755758154.png)]
双击资料中提供的 rabbitmq-server-3.7.7.exe ,选择对应安装目录,一路下一步,完成安装。
设置环境变量
(1) 新建RABBITMQ_HOME

(2)修改环境变量path,增加rabbitmq变量至path,%RABBITMQ_HOME%\sbin


!在这里插入图片描述
启动RabbitMQ:rabbitmq-server -detached 后台启动
停止RabbitMQ:rabbitmqctl stop
rabbitmq启动成功,浏览器中http://localhost:15672,默认用户名和密码 都是 guest

至此,rabbitMQ安装部署完成。

org.springframework.cloud spring-cloud-starter-bus-amqp
org.springframework.boot spring-boot-starter-actuator

server:port: 9527spring:application:name: config-server# spring cloud configcloud:config:server:# git 的 远程仓库地址git:uri: https://gitee.com/cheng-penga/chengpeng-config.gitlabel: master # 分支配置rabbitmq:host: localhostport: 5672username: guestpassword: guestvirtual-host: /#将自己注册到eureka中
eureka:client:service-url:defaultZone: http://localhost:8761/eureka#暴露bus刷新
management:endpoints:web:exposure:include: 'bus-refresh'
org.springframework.cloud spring-cloud-starter-bus-amqp
org.springframework.boot spring-boot-starter-actuator
