Nacos Installation Guide

Download Nacos

Nacos official website
NacosGithub address
Enter the NacosGithub address and click on the right side Release
insert image description here
zip is Windows version
tar.gz is Linux version
insert image description here

Windows installation

decompress

Unzip the downloaded zip archive
insert image description here

Configure ports

Click application.properties in the conf folder in the installation directory.
insert image description here
If the port conflicts, you can modify it here
insert image description here

Start Nacos

Enter the cmd in the bin directory of the installation directory to execute the command

startup.cmd -m standalone

insert image description here

access

Copy the path generated at startup (account passwords are nacos by default)
insert image description here

Linux installation

Install JDK

JDK Installation Guide

Upload compressed package

insert image description here

decompress

Excuting an order

tar -zxvf nacos-server-1.4.1.tar.gz -C /opt

port configuration

Execute in the conf directory of the installation directory

vim application.properties

Default 8848
insert image description here

start up

Enter the bin directory in the installation directory and execute

sh startup.sh -m standalone

Check if it starts

ps -ef|grep nacos

Open firewall ports

Set the open port (nacos default port is 8848)

sudo firewall-cmd --add-port=8848/tcp --permanent

restart firewall

firewall-cmd --reload

access

insert image description here

Guess you like

Origin blog.csdn.net/m0_60117382/article/details/123925531