栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Nacos安装(Windows)

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Nacos安装(Windows)

1.说明

为了方便本地开发测试代码,
可以下载Windows版本的nacos,
下载地址:https://github.com/alibaba/nacos/releases/download/2.0.3/nacos-server-2.0.3.zip

2.启动命令

安装包解压后,执行如下CMD脚本,
standalone代表着单机模式运行,
非集群模式:startup.cmd -m standalone

3.停止命令

shutdown.cmd
或者双击shutdown.cmd运行文件。

4.访问路径

后台的访问路径为:http://localhost:8848/nacos
nacos的根路径为/nacos,
默认端口号为8848。因此
nacos用户名密码:
nacos/nacos

5.启动日志
C:Program DevelopNacosnacos-server-2.0.0nacosbin>startup.cmd -m standalone
"nacos is starting with standalone"

        ,--.
      ,--.'|
  ,--,:  : |                                           Nacos 2.0.0
,`--.'`|  ' :                       ,---.               Running in stand alone mode, All function modules
|   :  :  | |                      '   ,'   .--.--.    Port: 8848
:   |    | :  ,--.--.     ,---.  /   /   | /  /    '   Pid: 20952
|   : '  '; | /          /     .   ; ,. :|  :  /`./   Console: http://192.168.171.1:8848/nacos/index.html
'   ' ;.    ;.--.  .-. | /    / ''   | |: :|  :  ;_
|   | |    | __/: . ..    ' / '   | .; :       `.      https://nacos.io
'   : |  ; .' ," .--.; |'   ; :__|   :    |  `----.   
|   | '`--'  /  /  ,.  |'   | '.'|     /  /  /`--'  /
'   : |     ;  :   .'      :    : `----'  '--'.     /
;   |.'     |  ,     .-./     /            `--'---'
'---'        `--`---'     `----'

2022-05-30 20:22:39,560 INFO Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@1af05b03' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-05-30 20:22:39,567 INFO Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-05-30 20:22:40,873 INFO Tomcat initialized with port(s): 8848 (http)
2022-05-30 20:22:41,647 INFO Root WebApplicationContext: initialization completed in 28073 ms
2022-05-30 20:22:53,032 INFO Initializing ExecutorService 'applicationTaskExecutor'
2022-05-30 20:22:53,190 INFO Adding welcome page: class path resource [static/index.html]
2022-05-30 20:22:54,412 INFO Creating filter chain: Ant [pattern='/**'], []
2022-05-30 20:22:54,476 INFO Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5e048149, org.springframework.security.web.context.SecurityContextPersistenceFilter@6d303498, org.springframework.security.web.header.HeaderWriterFilter@55d9b8f0, org.springframework.security.web.csrf.CsrfFilter@fb6097b, org.springframework.security.web.authentication.logout.LogoutFilter@29eda4f8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3419e23b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4fc142ec, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@79d9214d, org.springframework.security.web.session.SessionManagementFilter@43d38654, org.springframework.security.web.access.ExceptionTranslationFilter@1290c49]
2022-05-30 20:22:54,986 INFO Initializing ExecutorService 'taskScheduler'
2022-05-30 20:22:55,009 INFO Exposing 16 endpoint(s) beneath base path '/actuator'
2022-05-30 20:22:55,212 INFO Tomcat started on port(s): 8848 (http) with context path '/nacos'
2022-05-30 20:22:55,223 INFO Nacos started successfully in stand alone mode. use embedded storage
2022-05-30 20:23:33,951 INFO Initializing Servlet 'dispatcherServlet'
2022-05-30 20:23:33,966 INFO Completed initialization in 14 ms
6.参考文档

https://nacos.io/zh-cn/docs/quick-start.html

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/940903.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号