当前位置:网站首页>Nacos 安装与部署
Nacos 安装与部署
2022-07-30 03:25:00 【Leon_Jinhai_Sun】
Nacos 更加全能的注册中心
Nacos(Naming Configuration Service)是一款阿里巴巴开源的服务注册与发现、配置管理的组件,相当于是Eureka+Config的组合形态。
安装与部署
Nacos服务器是独立安装部署的,因此我们需要下载最新的Nacos服务端程序,下载地址:https://github.com/alibaba/nacos,连不上可以到视频下方云盘中下载。

可以看到目前最新的版本是1.4.3版本(2022年2月27日发布的),我们直接下载zip文件即可。
接着我们将文件进行解压,得到以下内容:

我们直接将其拖入到项目文件夹下,便于我们一会在IDEA内部启动,接着添加运行配置:

其中-m standalone表示单节点模式,Mac和Linux下记得将解释器设定为/bin/bash,由于Nacos在Mac/Linux默认是后台启动模式,我们修改一下它的bash文件,让它变成前台启动,这样IDEA关闭了Nacos就自动关闭了,否则开发环境下很容易忘记关:
# 注释掉 nohup $JAVA ${JAVA_OPT} nacos.nacos >> ${BASE_DIR}/logs/start.out 2>&1 &
# 替换成下面的
$JAVA ${JAVA_OPT} nacos.nacos接着我们点击启动:
OK,启动成功,可以看到它的管理页面地址也是给我们贴出来了: http://localhost:8848/nacos/index.html,访问这个地址:
默认的用户名和管理员密码都是nacos,直接登陆即可,可以看到进入管理页面之后功能也是相当丰富:

至此,Nacos的安装与部署完成。
边栏推荐
- matlab之函数
- Drools(7):WorkBench
- 基于数据驱动故障预测的多台电力设备预测性维护调度
- [Flink] How to determine the cluster planning size from development to production launch?
- One book 1922 - table tennis
- 22/07/21
- HCIP OSPF
- Overview of Federated Learning (2) - Classification, Framework and Future Research Directions of Federated Learning
- 基于全志D1-H和XR806的名贵植物监控装置
- JIT VS AOT
猜你喜欢

Overview of Federated Learning (1) - Background, Definition and Value of Federated Learning

QT基础第三天(3)widget,dialog和mainwindow

Redis (ten) - Redission principle and practice

QT based on the third day (3) widget, dialog and mainwindow

web初识

Oracle 进程数和会话数的关系

华宝新能通过注册:拟募资近7亿 营收增加利润反而下降

基于全志D1-H和XR806的名贵植物监控装置

三年经验只会点点点(功能测试),辞职后你可能连工作都找不到了。

JUC (four): five/six states of shorthand thread
随机推荐
Software testing interview questions and answer analysis, the strongest version in 2022
浏览器缓存机制
The speed of life and death, every second counts
乖宝宠物IPO过会:年营收25.75亿 KKR与君联是股东
Open address method hash implementation - linear detection method
1050 graphics card, why is the graphics card usage ranking on Steam always the top five
uni-app实现跨端开发手机蓝牙接收和发送数据
动态绑定href url
Simple Operations on Sequence
复合类型--引用,指针
HCIP experiment (05) OSPF comprehensive experiment
联邦学习综述(一)——联邦学习的背景、定义及价值
单片机没有随机数发生器如何生成随机数——2022.07.26
JIT VS AOT
The most important transport layer
【SQL】按某个关联列用一张表的数据更新另一张表
新手入门上位机开发 C#语言:PC串口发送数据
C# 一周入门之《C#-类和对象》Day Six
阿里巴巴按关键字搜索新品数据 API
阿里云EasyNLP中文文图生成模型带你秒变艺术家