码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-07-01 14:14:15      阅读:1160      评论:0      收藏:0      [点我收藏+]

标签:.sh   脚本   dbus   chmod   ip add   host   address   localhost   local   

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

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

标签:.sh   脚本   dbus   chmod   ip add   host   address   localhost   local   

原文地址:https://www.cnblogs.com/huanggy/p/9249924.html

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!