Nacos server
1. 下载安装包
目前1.4.1版本为稳定版本
2.解压并进入nacos/bin目录下
cd nacos/bin
3.启动服务器
# MAC 环境
sh startup.sh -m standalone
# Windows 环境
cmd startup.cmd -m standalone
# standalone 代表着单机模式运行,非集群模式
输出nacos is starting with standalone
即为成功
MAC 升级到bigsur版本后,执行该命令会有坑!!!
若登录本地网址不生效,则去nacos/logs目录下查看日志
报错:
nohup: /Library/Internet: No such file or directory
解决方法:在.bash_profile声明自己安装的jdk的JAVA_HOME
若修改后,不生效,参照该博客操作