Registry SpringCloud of -Nacos

Nacos Profile

Nacos Alibaba is open source a support service registration and discovery, configuration management and service management of micro components. Used to replace the registry (zookeeper, eureka, etc.) previously used, and the configuration center (spring cloud config etc.). Nacos function is integrated registry and configuration centers, so that combo.
 GitHub Nacos: https://github.com/alibaba/nacos
 Nocos document: https://nacos.io/zh-cn/docs/what-is-nacos.html

Nacos supports almost all major types of "services" discovery, configuration and management, such as:

  • Kubernetes Service
  • gRPC & Dubbo RPC Service
  • Spring Cloud RESTful Service

Nacos installation

  • Download
    GitHub download failure or too slow can go yard cloud search Nacos
    以码云为例(1.1.4版本)
    Here Insert Picture Description
  • Install and start services
# 下载完毕后解压至本地
cd nacos/
# maven编译
mvn -Prelease-nacos clean install -U
# 编译完成后启动服务
cd distribution/target/nacos/bin

#Linux/Mac环境执行
sh startup.sh -m standalone
# Windows环境执行
cmd startup.cmd

Here Insert Picture Description
After starting View Log

cd ../logs
tail -f start.out

Nacos default port 8848
access address: HTTP: // localhost: 8848 / nacos /

Published 19 original articles · won praise 8 · views 4542

Guess you like

Origin blog.csdn.net/M283592338/article/details/104286607