Seata entry series [1] Install seata 1.7.1+nacos 2.1.1

1 Introduction

Seata is an open source distributed transaction solution dedicated to providing high-performance and easy-to-use distributed transaction services. Seata will provide users with AT, TCC, SAGA and XA transaction modes to create a one-stop distributed solution for users.
Github: https://github.com/seata/seata
Official documentation: https://seata.io/zh-cn/docs/overview/what-is-seata.html

2 Install nacos 2.1.1

2.1 Download the installation package and unzip it

Download address: https://github.com/alibaba/nacos/releases/tag/2.1.1
Insert image description here

2.2 Modify the startup mode to standalone (standalone)

Insert image description here
cluster changed to standalone

2.3 Start and visit the homepage, enter nacos/nacos to log in

Insert image description here

3 Install seata

3.1 Download the installation package and unzip it

Download address: https://github.com/seata/seata/releases/tag/v1.7.1

Insert image description here

3.2 Import seata database

Insert image description here
Insert image description here

3.3 Configure database

Insert image description here
Insert image description here

3.4 Open Git Bash in the source code directory and enter sh nacos-config.sh. After the import is completed, all configurations can be viewed in nacos.

Insert image description here
Insert image description here

Insert image description here

3.5 Modify configuration file

Modify the seata configuration file, modify the registration center and configuration center to nacos, and configure the nacos address
Insert image description here
Insert image description here

3.6 Start the seata server

Start the seata server and check nacos. The deployment is completed.
Insert image description here
Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/qq_37284798/article/details/133157615