Nacos安裝(Windows) 1.說明 2.啓動命令 3.停止命令 4.訪問路徑 5.啓動日誌 6.參考文檔

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 Develop\Nacos\nacos-server-2.0.0\nacos\bin>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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章