Get the App
SLTechnology News&Howtos  ›  Servers  › 

Teach you how to install and deploy nacos configuration Center in liunx

Shulou Source: shulou.com Published: 2022-06-02 06:21:01 10月03日 Update

This tutorial teaches you how to install and deploy the nacos configuration Center on a Linux system. Service is a first-class citizen of the Nacos world. Nacos supports the discovery, configuration, and management of almost all mainstream types of services. Use Nacos to simplify solutions for service discovery, configuration management, service governance and management, making it easier for microservices to manage, share, and compose.

1. Download the https://github.com/alibaba/nacos/releases nacos-server-1.3.1.tar.gz source code package

2. Upload to liunx server / usr/local

3. Decompression

Tar-zxvf nacos-server-1.3.1.tar.gz

4. Enter the extracted nacos file directory, and enter the bin directory

Cd / usr/local/nacos/bin

5. Edit vim startup.sh script and modify

6. Save and exit.

7. Enter the / usr/local/nacos/conf directory

Cd / usr/local/nacos/conf

8. Edit application.properties and modify it as follows

Vim application.properties

9. Create the database. The database script is available in the source code package. In nacos/conf/nacos-mysql.sql, import this into the data.

10. Start, enter / usr/local/nacos/bin to execute. / startup.sh-m standalone

Cd / usr/local/nacos/bin./startup.sh-m standalone

11. Then open the browser http://ip: port / nacos

12. The default user and password are the same: nacos

So far, it has been a complete success.

The original text is from: https://www.linuxprobe.com/liunx-nacos.html

Tags: Service management configuration data directory database source code script Zhongan success world mainstream citizen original text password guide book file solution server browser Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Microsoft Huawei OPPO Reno NVidia