/nacos-fork

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.

Primary LanguageJavaApache License 2.0Apache-2.0

nacos-fork

源码启动

  1. nacos-console | com.alibaba.nacos.Nacos

  2. 修改配置:distribution | conf | application.properties

  3. 启动参数设置(VM options)

-Dnacos.standalone=true -Dnacos.home="D:\VergiLyn\Workspace Git\nacos-fork\distribution"

(因为路径中存在空格,所以用双引号包含)

  1. 访问:http://127.0.0.1:8848/nacos

通过启动信息可知,logs/conf/data 保存的目录即nacos.home指定的目录:

  • D:\VergiLyn\Workspace Git\nacos-fork\distribution\logs
  • D:\VergiLyn\Workspace Git\nacos-fork\distribution\conf
  • D:\VergiLyn\Workspace Git\nacos-fork\distribution\data