天天看点

cnetos7下载tidb离线安装包先保证centos7中有安装ansible,没有则按照下载tidb-ansible指定版本下载下面是截取的一些提示片段

先保证centos7中有安装ansible,没有则按照

yum install epel-release -y

yum install ansible –y

下载tidb-ansible指定版本

https://github.com/pingcap/tidb-ansible/releases

中下载tidb-ansible-3.0.2.zip

解压到/home/qtj/tikv/中

下载

cd tidb-ansible-3.0.2

ansible-playbook local_prepare.yml

下面是截取的一些提示片段

TASK [local : unarchive tidb binary] *

changed: [localhost] => (item={u'url': u'

http://download.pingcap.org/tidb-v3.0.2-linux-amd64.tar.gz

', u'version': u'v3.0.2', u'name': u'tidb'})

...

PLAY RECAP *

localhost : ok=32 changed=24 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0

Congrats! All goes well. :-)

下载好的压缩包都在tidb-ansible-3.0.2/downloads目录下

继续阅读