Article directory
Download Nacos
Nacos official website
NacosGithub address
Enter the NacosGithub address and click on the right side Release
zip is Windows version
tar.gz is Linux version
Windows installation
decompress
Unzip the downloaded zip archive
Configure ports
Click application.properties in the conf folder in the installation directory.
If the port conflicts, you can modify it here
Start Nacos
Enter the cmd in the bin directory of the installation directory to execute the command
startup.cmd -m standalone
access
Copy the path generated at startup (account passwords are nacos by default)
Linux installation
Install JDK
Upload compressed package
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
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