准备

Nacos 依赖 Java 环境来运行。如果您是从代码开始构建并运行Nacos,还需要为此配置 Maven环境,请确保是在以下版本环境中安装使用

1、64 bit OS,支持 Linux/Unix/Mac/Windows
2、64 bit JDK 1.8+
3、Maven 3.2.x+

下载

源码下载地址 https://github.com/alibaba/nacos.git

安装包下载地址 https://github.com/alibaba/nacos/releases 版本自行选择 我这2.0.3

安装nocas_java

启动

windows

桌面

进入解压目录下bin目录双击startup.cmd

cmd

cd 进入nocas bin目录运行 (standalone代表着单机模式运行,非集群模式)

startup.cmd -m standalone 

Linux/Unix/Mac

cd 进入nocas bin目录运行

sh startup.sh -m standalone
ubuntu
bash startup.sh -m standalone
访问

默认端口8848 访问路径

http://172.18.0.24:8848/nacos/index.html

安装nocas_maven_02

账号/密码 nocas/nocas

安装nocas_maven_03

完成

安装nocas_unix_04