This is the third day of my participation in the August More text Challenge. For details, see: August More Text Challenge
What is Nacos?
Nacos helps you build, deliver, and manage micro-service platforms more quickly and easily. Nacos is a service infrastructure for building modern application architectures centered on “services” (e.g., microservices paradigm, cloud-native paradigm). Personally, I think this is a set of underlying software combined with microservice architecture developed by Alibaba. The target is SpringCloud Eureka, Bus and Config
The classification of Nacos
The Windows version
1. Download Nacos for Windows
Making address:Github.com/alibaba/nac…Download Nacos from official:
2. After downloading the file, decompress it to drive D
To run Nacos, you need to install the JDK.
3. Go to the decompressed Nacos directory:
4. Double-click startup. CMD to start Nacos
If the image above appears, Nacos is successfully started.
The Linux version
1. Download Nacos for Linux
2. Run the rz command to transfer the data to the /usr/local directory
3. Run the tar -zxvf nacos-server-1.1.4.tar.gz command to decompress the package
Go to the decompressed nacos directoryNacos requires JDK, so be sure to install JDK on Linux, otherwise Nacos will not start.
4. Modify the startup script and configure the JDK directory.
Go to the bin directory and modify the startup script startup.shThen start Nacos
5. Run the bash -f./startup.sh -m standalone command to start the standalone function
After startup, you can check whether the log file started successfully, or search by grep for threads with NACOS.
6. Access the front-end interface of Nacos
Nacos has several common functions: 1. As a service registry, instead of Eureka and Bus 2. Act as the configuration center instead of Config