Liunx 腾讯开发框架Tars 使用一键安装

  1. git clone https://github.com/TarsCloud/Tars
    git clone --recursive https://github.com/TarsCloud/Tars.git
    git clone --recursive https://github.com/TarsCloud/Tars.git
    1.1. git submodule init 初始化子模块
    1.2. git submodule update 更新子模块
  2. 复制相关依赖到build目录。链接:https://pan.baidu.com/s/1RfySkU1ZPmatJ0PglAHXEA 密码:3gv6
    apache-maven-3.3.9-bin.tar.gz
    cmake-2.8.8.tar.gz
    jdk-8u111-linux-x64.tar.gz
    mysql-5.6.26.tar.gz
    resin-4.0.49.tar.gz
    3.修改install.sh
    MachineIp=172.17.147.232
    MachineName=iZdiok61212jquZ
    yum install -y gcc gcc-c++ make automake
    yum install -y perl-Module-Install.noarch
    perl scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data
    cd -
    4.修改/root/Tars-master/build/conf/my.cnf
    bind-address=172.17.147.232 就是你自己的本地IP,据说不让是127.0.0.1
    5.修改运行权限:chmod +x install.sh
    运行脚本:./install.sh

6 删除 my.cnf
rm -rf /etc/my.cnf

git无法使用
yum update -y nss curl libcurl

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

iiiCircle

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值