Nacos学习(一)启动Nacos Server

参考资料:

Nacos 快速开始​​​​​​

​​​​​​Nacos快速入门(1):启动Nacos Server_未完成的空间-CSDN博客_nacos启动

下载代码并编译

git clone https://github.com/alibaba/nacos.git
cd nacos/
mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U  
ls -al distribution/target/

// change the $version to your actual path
cd distribution/target/nacos-server-$version/nacos/bin

 单机模式启动

Linux/Unix/Mac

启动命令(standalone代表着单机模式运行,非集群模式):

sh startup.sh -m standalone

控制台启动下,看到"Nacos started successfully in stand alone mode.”后表示服务已启动

nacos默认使用8848端口,可通过http://127.0.0.1:8848/nacos/index.html进入自带的控制台界面,默认用户名/密码是nacos/nacos

猜你喜欢

转载自blog.csdn.net/flyconley/article/details/120323683