Linux (Centos7) install Seata

foreword

First, you need to install Nacos first—refer to this link for detailed deployment steps. installed can be ignored

1. Upload the seata compressed package to the server /opt directory through Xftp

insert image description here
2. Unzip to the /usr/local/ directory

unzip seata-server-1.2.0.zip -d /usr/local/

insert image description hereinsert image description here

3. Change the seata configuration file - the main changes registryand configthe configuration marked inside

vim /usr/local/seata/conf/registry.conf

insert image description hereinsert image description here
4. Start seata
----1. Create a seata log

mkdir /usr/local/seata/logs && touch /usr/local/seata/logs/seata_gc.log

----2. Start

//在 /usr/local/seata/bin/ 下执行
sh seata-server.sh       //方式一
sh seata-server.sh >> /dev/null &  //方式二:后台启动,不输出内容

insert image description hereinsert image description here
5. Log in to Nacos to see if there is a seata-server service in the service list

insert image description here

Guess you like

Origin blog.csdn.net/dontYouWorry/article/details/128974287