foreword
Recently, I am working on my own project with my colleagues. From zero to one, the technology selection framework uses SpringCloud Alibaba, so it is inevitable to use Nacos as the registration center and configuration center.
Nacos needs to rely on jdk, so make sure there is jdk on the server, if you don't have it, you can configure it on Baidu.
Download Nacos
Official website address: Nacos official website address
Click the document, find Nacos on the left menu bar, and scroll down to find the location as shown below.
Install Nacos
Use Xshell to connect to your own server
- create folder
mkdir -p /usr/local/nacos
- Drag the Nacos compressed package into Xshell
- Unzip the Nacos compressed package
tar -zxvf nacos-server-2.1.0.tar.gz -C /usr/local/nacos
- Enter the bin file and start Nacos in stand-alone mode
sh startup.sh -m standalone
- Enter the pagoda page and open port 8848
- Test access
Browser access: http://XXX.XXX.X.XXX:8848/nacos
login account password is nacos