环境:centos7.6

工具机:192.168.1.10(外网)
中控机:10.0.1.1(内网)

可用服务器10.0.1.1-10

1、外网下载离线安装包

   a、安装tiup工具

[root@localhost tidb-tiup]# curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4410k  100 4410k    0     0  2064k      0  0:00:02  0:00:02 --:--:-- 2063k
WARN: adding root certificate via internet: https://tiup-mirrors.pingcap.com/root.json
You can revoke this by remove /root/.tiup/bin/7b8e153f2e2d0928.root.json
Set mirror to https://tiup-mirrors.pingcap.com success
Detected shell: /bin/bash
Shell profile:  /root/.bash_profile
/root/.bash_profile has been modified to to add tiup to PATH
open a new terminal or source /root/.bash_profile to use it
Installed path: /root/.tiup/bin/tiup
===============================================
Have a try:     tiup playground
===============================================
View Code

相关文章: