Two ways to start Nacos stand-alone

Note: Double-click the startup script of nacos directly. The default is cluster mode;
Insert image description here

It needs to be started on a stand-alone machine, there are two ways;

Method 1: Command line

Open a command window in the current directory and enter the following command to start nacos

startup.cmd -m standalone

Insert image description here

There are two ways to enter the command line in the current directory;

One is to enter cmd in the address bar and hit enter;

Insert image description here

One is to hold down the shfit key, right-click the mouse, and click on the command terminal;

Insert image description here

Method 2: Modify the script

Edit the start.cmd script to change the cluster mode to stand-alone mode;

Insert image description here

Modify to standalone;

Insert image description here

After the modification is completed, double-click to run it in stand-alone mode;

Insert image description here

Guess you like

Origin blog.csdn.net/qq_42108331/article/details/132912810