Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report