腾讯开源TARS安装问题记录

本文档详细介绍了在Ubuntu系统中部署TARS服务的关键步骤,包括确保使用64位服务、更换为阿里云安装源以提升下载速度、配置MySQL远程权限及防火墙设置等,确保TARS服务稳定运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1,服务的位数一定要是64位,否则编译是会出现 undefined xxx content 

2,替换安装源,最好用阿里云的,速度最快(以下复制全替换)

           deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
           deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
           deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
           deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
           deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
           deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
           deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
           deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
           deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
           deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

3,安装mysql一定要给远程权限

      (1)/etc/mysql/my.cnf    注释掉 bind-addr  127.0.0.1

         (2)    GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;   flush privileges;   红色部分一定要加,否则没有给其他账号开权限的权限 

4,注意防火墙要关掉,不关防火墙就得把TARS用的端口都开放(3000,3001这两个是必须的)

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值