nacos之入门概述与安装

官网

安装准备

64 bit OS,支持 Linux/Unix/Mac/Windows,推荐选用 Linux/Unix/Mac。
64 bit JDK 1.8+;下载 & 配置。
Maven 3.2.x+;下载 & 配置。

nacos之mac系统安装

https://nacos.io/zh-cn/docs/quick-start.html

下载地址

最新版本

https://github.com/alibaba/nacos/releases/tag/1.3.2

在这里插入图片描述

启动

localhost:bin gaoxinfu$ pwd
/Users/gaoxinfu/using/nacos/bin
localhost:bin gaoxinfu$ 
localhost:bin gaoxinfu$ ls -la
total 40
drwxr-xr-x@ 6 gaoxinfu  staff   192  8  4 19:26 .
drwxr-xr-x@ 8 gaoxinfu  staff   256 10 19 13:59 ..
-rwxr-xr-x@ 1 gaoxinfu  staff   954  5 14 10:03 shutdown.cmd
-rwxr-xr-x@ 1 gaoxinfu  staff   949  7 27 19:43 shutdown.sh
-rwxr-xr-x@ 1 gaoxinfu  staff  3440  8  4 19:25 startup.cmd
-rwxr-xr-x@ 1 gaoxinfu  staff  5026  8  4 10:58 startup.sh
localhost:bin gaoxinfu$ sh startup.sh -m standalone
/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/bin/java  -Xms512m -Xmx512m -Xmn256m -Dnacos.standalone=true -Dnacos.member.list= -Djava.ext.dirs=/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/jre/lib/ext:/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/lib/ext -Xloggc:/Users/gaoxinfu/using/nacos/logs/nacos_gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M -Dloader.path=/Users/gaoxinfu/using/nacos/plugins/health,/Users/gaoxinfu/using/nacos/plugins/cmdb -Dnacos.home=/Users/gaoxinfu/using/nacos -jar /Users/gaoxinfu/using/nacos/target/nacos-server.jar  --spring.config.location=classpath:/,classpath:/config/,file:./,file:./config/,file:/Users/gaoxinfu/using/nacos/conf/ --logging.config=/Users/gaoxinfu/using/nacos/conf/nacos-logback.xml --server.max-http-header-size=524288
nacos is starting with standalone
nacos is starting,you can check the /Users/gaoxinfu/using/nacos/logs/start.out
localhost:bin gaoxinfu$ 
localhost:bin gaoxinfu$ 
localhost:bin gaoxinfu$ 
localhost:bin gaoxinfu$ ls -la
total 48
drwxr-xr-x@  9 gaoxinfu  staff   288 10 19 14:02 .
drwxr-xr-x@ 10 gaoxinfu  staff   320 10 19 14:02 ..
-rw-r--r--   1 gaoxinfu  staff   734 10 19 14:02 derby.log
drwxr-xr-x   3 gaoxinfu  staff    96 10 19 14:02 logs
-rwxr-xr-x@  1 gaoxinfu  staff   954  5 14 10:03 shutdown.cmd
-rwxr-xr-x@  1 gaoxinfu  staff   949  7 27 19:43 shutdown.sh
-rwxr-xr-x@  1 gaoxinfu  staff  3440  8  4 19:25 startup.cmd
-rwxr-xr-x@  1 gaoxinfu  staff  5026  8  4 10:58 startup.sh
drwxr-xr-x   3 gaoxinfu  staff    96 10 19 14:02 work
localhost:bin gaoxinfu$ pwd
/Users/gaoxinfu/using/nacos/bin
localhost:bin gaoxinfu$ 

页面验证

默认端口8848
http://127.0.0.1:8848/nacos
在这里插入图片描述

停止

localhost:bin gaoxinfu$ sh shutdown.sh 
The nacosServer(23931) is running...
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

东山富哥

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值