nacos 依赖于 Jdk1.8+,Mavne3.2.x+ 环境

  1. 通过 github 拉取 nacos 项目
    git clone https://github.com/alibaba/nacos.git
  2. 进入到 nacos 目录下,构建项目
    mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
  3. 进入 distribution 目录下的 target 下的 nacos-server-** 下的 nacos 的 bin目录中
    // nacos-server-* * 需要修改为自己下载的nacos 版本
    cd distribution/target/nacos-server-*/nacos/bin
    nacos 环境 安装
  4. Linux/Unix/Mac 启动方式 单机启动加上 standalone, 不加是集群方式
    sh startup.sh -m standalone
  5. Windows 启动方式
    cmd startup.cmd
  6. 访问 http://localhost:8848/nacos/#/login 查看 nacos 服务
    http://localhost:8848/nacos/#/login

如果访问不到, 查看 nacos 下的 log 目录, 查看start.out日志定位问题nacos 环境 安装

相关文章:

  • 2021-04-28
  • 2021-08-29
  • 2021-07-06
  • 2021-06-19
  • 2021-10-08
  • 2022-12-23
  • 2021-08-17
猜你喜欢
  • 2021-12-31
  • 2022-12-23
  • 2021-10-30
  • 2022-03-01
  • 2021-05-07
  • 2022-12-23
  • 2021-12-23
相关资源
相似解决方案