搭nacos集群,起节点报
startup.sh: 86: [[: not found
还有Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
找了一圈终于发现是启动命令的问题。官网https://nacos.io/zh-cn/docs/quick-start.html
Linux/Unix/Mac
启动命令(standalone代表着单机模式运行,非集群模式):
sh startup.sh -m standalone
如果您使用的是ubuntu系统,或者运行脚本报错提示[[符号找不到,可尝试如下运行:
bash startup.sh -m standalone
我是ubuntu系统,用了bash 起
就对了