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
2.2 Modify the startup mode to standalone (standalone)
cluster changed to standalone
2.3 Start and visit the homepage, enter nacos/nacos to log in
3 Install seata
3.1 Download the installation package and unzip it
Download address: https://github.com/seata/seata/releases/tag/v1.7.1
3.2 Import seata database
3.3 Configure database
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.
3.5 Modify configuration file
Modify the seata configuration file, modify the registration center and configuration center to nacos, and configure the nacos address
3.6 Start the seata server
Start the seata server and check nacos. The deployment is completed.