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

How to install and deploy nacos in Liunx

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article is about how to install and deploy nacos in Liunx. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Nacos is Alibaba's latest open source project, which provides a set of easy-to-use features to help you quickly implement dynamic service discovery, service configuration, service metadata and traffic management. It is more agile and easy to build, deliver, and manage micro-service platforms.

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

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

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

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

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.

Thank you for reading! This is the end of the article on "how to install and deploy nacos in Liunx". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

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

Development

Wechat

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

12
Report