windows startup.cmd(集群启动) startup.cmd -m standalone 单机启动
mac sh startup.sh -m standalone
将默认集群模式改为单机启动
1 2 3 4 5 6 7 8 9 10
rem if nacos startup mode is cluster if %MODE% == "cluster" ( //集群启动 echo "nacos is starting with cluster" if %EMBEDDED_STORAGE% == "embedded" ( set "NACOS_OPTS=-DembeddedStorage=true" ) )
将 set MODE="cluster"集群改为set MODE="standalone"单机 点击startup.cmd启动即可