美文网首页
SpringCloud Alibaba 环境准备

SpringCloud Alibaba 环境准备

作者: TZX_0710 | 来源:发表于2020-09-02 11:26 被阅读0次

1.安装注册中心nacos

下载安装包解压
修改 conf下面的application.properties
修改mysql配置


application.properties

回到bin目录进行启动 默认集群模式 开发环境可以采用单机版本启动
sh startup.sh -m standalone

2.安装sentinel
下载sentinel安装包
上传jar 然后启动 默认账户密码是sentinel 当然可以通过启动的时候自定义设置
-Dsentinel.dashboard.auth.username=sentinel
-Dsentinel.dashboard.auth.password=sentinel
nohup java -Dserver.port=8849 -Dcsp.sentinel.dashboard.server=localhost:8849 -jar sentinel-dashboard-1.8.0.jar &

相关文章

网友评论

      本文标题:SpringCloud Alibaba 环境准备

      本文链接:https://www.haomeiwen.com/subject/jmwisktx.html