nacos安装

1.github下载安装包

https://github.com/alibaba/nacos/releases/download/2.0.3/nacos-server-2.0.3.zip

2.启动命令

安装包解压后,使用命令窗口进入bin目录,执行以下命令:
standalone代表着单机模式运行,
非集群模式:

1
startup.cmd -m standalone

3.停止命令

1
shutdown.cmd

4.启动日志

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
D:\nacos-server-2.1.0\nacos>cd bin
 
D:\nacos-server-2.1.0\nacos\bin>startup.cmd -m standalone
"nacos is starting with standalone"
 
         ,--.
       ,--.'|
   ,--,:  : |                                           Nacos 2.1.0
,`--.'`|  ' :                       ,---.               Running in stand alone mode, All function modules
|   :  :  | |                      '   ,'\   .--.--.    Port: 8848
:   |   \ | :  ,--.--.     ,---.  /   /   | /  /    '   Pid: 18684
|   : '  '; | /       \   /     \.   ; ,. :|  :  /`./   Console: http://192.168.239.1:8848/nacos/index.html
'   ' ;.    ;.--.  .-. | /    / ''   | |: :|  :  ;_
|   | | \   | \__\/: . ..    ' / '   | .; : \  \    `.      https://nacos.io
'   : |  ; .' ," .--.; |'   ; :__|   :    |  `----.   \
|   | '`--'  /  /  ,.  |'   | '.'|\   \  /  /  /`--'  /
'   : |     ;  :   .'   \   :    : `----'  '--'.     /
;   |.'     |  ,     .-./\   \  /            `--'---'
'---'        `--`---'     `----'
 
2022-07-27 01:06:29,656 INFO Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@6940f685' 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-07-27 01:06:29,681 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-07-27 01:06:34,049 INFO Tomcat initialized with port(s): 8848 (http)
 
2022-07-27 01:06:36,422 INFO Root WebApplicationContext: initialization completed in 23084 ms

5.访问路径

从启动日志中可以看到访问地址:

http://192.168.239.1:8848/nacos/index.html

用户名:nacos
密码:nacos

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

posted @   使用D  阅读(143)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 通过 API 将Deepseek响应流式内容输出到前端
· AI Agent开发,如何调用三方的API Function,是通过提示词来发起调用的吗
历史上的今天:
2020-07-27 最大和的连续子数组合计
2020-07-27 加油站绕圈-单次循环
点击右上角即可分享
微信分享提示