一、下载安装与启动
(1)从官网下载Nacos:https://github.com/alibaba/nacos/releases/tag/1.1.4
(2)解压,下图是Windows
(3)启动,双击bin目录下的startup.cmd命令文件
启动成功!
(4)测试地址:http://localhost:8848/nacos/#/login
(5)登录控制台,默认账号密码都是nacos
二、官网学习文档
https://spring-cloud-alibaba-group.github.io/github-pages/2021/en-us/index.html
<!--注册中心依赖-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>