当前位置:网站首页>Nacos installation and deployment
Nacos installation and deployment
2022-07-30 03:33:00 【Leon_Jinhai_Sun】
Nacos' more versatile registry
Nacos (Naming Configuration Service) is an Alibaba open source service registration and discovery,The component of configuration management is equivalent to the combined form of Eureka+Config.
Installation and Deployment
Nacos server is installed and deployed independently, so we need to download the latest Nacos server program, download address: https://github.com/alibaba/nacos, if you can't connect, you can go to the cloud below the videoIn-disk download.

You can see that the latest version is 1.4.3 (released on February 27, 2022), we directly download the zip fileThat's it.
Then we decompress the file and get the following:

We directly drag it into the project folder, so that we can start it in IDEA later, and then add the run configuration:

Where -m standalone means single node mode, remember to set the interpreter to /bin/bash under Mac and Linux, because Nacos is inMac/Linux is in the background startup mode by default. Let's modify its bash file to make it start in the foreground, so that when IDEA closes Nacos, it will automatically close, otherwise it is easy to forget to close it in the development environment:
# comment out nohup $JAVA ${JAVA_OPT} nacos.nacos >> ${BASE_DIR}/logs/start.out 2>&1 replace with the following$JAVA ${JAVA_OPT}nacos.nacosThen we click Start:
OK, the startup is successful, you can see that its management page address is also posted to us: http://localhost:8848/nacos/index.html, visit this address:
The default username and administrator password are nacos, you can log in directly, you can see that the functions are quite rich after entering the management page:

At this point, the installation and deployment of Nacos is complete.
边栏推荐
- Solve The problem of Google browser cross-domain has had been blocked by CORS policy: The request The client is not a secure context and The resou
- Software testing interview questions and answer analysis, the strongest version in 2022
- (RCE)远程代码/命令执行漏洞漏洞练习
- Awesome, Tencent technical experts handed Redis technical notes, and the download volume has exceeded 30W
- 路由过滤器
- LeetCode 114. 二叉树展开为链表(一题三吃)
- JUC (six): synchronized
- 一本通1922——乒乓球
- nSoftware.PowerShell.Server.2020
- 分类之决策树分类
猜你喜欢
随机推荐
un7.29:Linux——centos中如何安装与配置redis?
LoadBalancer load balancing
代码可读性,前置检查、注释及总结
WPF引入 ttf 图标文件使用记录
Three years of experience will only be a little bit (functional testing), and you may not even be able to find a job after resigning.
vscode 调试和远程
传输层详解
gnss rtcm rtklib Ntrip...
运营人必须掌握的6大类26个基本模型
List获取差集产生的问题
【GPU并行计算】利用OpenCL&OpenCLUtilty进行GPU并行计算
Hystrix 服务熔断
【无标题】
MyCat中对分库分表、ER表、全局表、分片规则、全局序列等的实现与基本使用操作
The most important transport layer
历经5面的阿里实习面经篇~
sql中 exists的用法
Software testing interview questions and answer analysis, the strongest version in 2022
FreeRTOS个人笔记-内存管理
[Flink] How to determine the cluster planning size from development to production launch?









