Table of contents
1. Download and decompress Nacos
2. Start nacos on a single machine
3. Visit nacos address: http://localhost:8848/nacos
1. Edit the application.properties file in the conf folderEdit
3. Access address: http://localhost:8848/nacos
4. Open permission control (application.properties file in the conf folder)
4. Start Nacos in high availability mode
1. Download and decompress Nacos
Download address: Releases alibaba/nacos GitHub
2. Start Nacos
1. Enter the bin directory
cd bin
2. Start nacos on a single machine
./startup.sh -m standalone
3. Visit nacos address: http://localhost:8848/nacos
3. Persistence Configuration
1. Edit the application.properties file in the conf folder
2. nacos stand-alone startup
./startup.sh -m standalone
3. Access address: http://localhost:8848/nacos
4. Open permission control (application.properties file in the conf folder)
4. Start Nacos in high availability mode
1. The local test copied the three-point nacos, and modified the port numbers of the application.properties file in the conf folder to 8848, 8858, and 8858.
2. Enter the conf folder to create a new cluster.conf file and write the address and port of each nacos instance
3. Start command
sh nacos-8848/bin/startup.sh
sh nacos-8858/bin/startup.sh
sh nacos-8868/bin/startup.sh