一、在nacos安装目录下,新建NacosStartAuto.bat文件,内容如下:

@echo off
D:
CD D:\Develop\Environment\nacos\bin
startup.cmd
taskkill /f /im cmd.exe
exit

二、在Windows自启动目录下新建启动脚本:

set ws=WScript.CreateObject("WScript.Shell")
ws.Run "D:\Develop\Environment\nacos\NacosStartAuto.bat",0

Windows系统自启动路径:C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

Win + R
shell:Common Startup

在这里插入图片描述

三、重启Windows

在这里插入图片描述

GitHub 加速计划 / na / nacos
29.84 K
12.75 K
下载
Nacos是由阿里巴巴开源的服务治理中间件,集成了动态服务发现、配置管理和服务元数据管理功能,广泛应用于微服务架构中,简化服务治理过程。
最近提交(Master分支:3 个月前 )
28548c13 * Improve the retrieval of ConfigInfoState to facilitate the extension and implementation of databases like Oracle. * Add unit tests for the SQL construction part of the `ExternalConfigInfoPersistServiceImpl#findConfigInfoState` method. * Enhance the construction of the delete statement in AbstractMapper by using a unified appendWhereClause method to construct the WHERE clause. Modify appendWhereClause to be protected, allowing for customization based on different database types, such as adjustments according to column names. 12 小时前
49611915 * The error message is not user-friendly when adding duplicate permissions. (#12773) * The error message is not user-friendly when adding duplicate permissions.(#12773) 12 小时前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐