腾讯Tars环境搭建 ---- centos

时间:2023-03-09 16:13:27
腾讯Tars环境搭建 ---- centos

1,安装git

yum install git

2,下载脚本

git clone https://github.com/tangramor/Tars_Install.git

注意:会有3个脚本,centos 环境使用 tars_install.sh,如果没有安装 git

3,编辑脚本

设置IP,Mysql密码、用户、端口

DBIP localhost
DBPort 3306
DBUser root
DBPassword password

设置网卡

改成本机对应的网卡,使用 ip address 可以查看

INET_NAME=eth0

4,赋予权限

chmod u+x tars_install.sh

5,安装

./tars_install.sh