nacos 1.4.1 源码环境搭建
LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.
Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poor people.
talk is cheap, show others the code,Keep progress,make a better result.
Survive during the day and develop at night。
目录
概 述
nacos 源码环境搭建
1.下载源码
下载 https://github.com/alibaba/nacos/releases/tag/1.4.1 其中的代码:
可以使用git 下载,下载方式好几种:选择其中一个就可以了
2.依赖载入
加载工程,
待源码都生成模块标识:
3.修改配置文件
在mysql中新建一个数据库: nacos
然后执行nacos的sq脚本:nacos-1.4.2/config/src/main/resources/META-INF/nacos-db.sql
注释掉相关的配置选项:
4.测试
在vm 参数中增加-D选项
查看console管理端
浏览器访问:http://localhost:8848/nacos
用户名:nacos
密码:nacos
至此,nacos服务启动成功
总结:
相关工具如下:
分析:
小结:
主要讲述了nacos 1.4.1 源码环境搭建 服务相关的分析,请大家指正~
参考资料和推荐阅读
1.链接: link