1、TiUP
1.1 TiUP部署步骤1 - 软硬件环境需求及前置检查
快速搭建:https://docs.pingcap.com/tidb/stable/quick-start-with-tidb
- 存储参数配置
- 关闭swap
- 关闭防火墙
- 安装NTP服务
- 操作系统优化参数
- SSH互信与sudo免密配置
- numactl工具安装
1.2 TiUP部署步骤2 - 安装TiUP组件
curl —proto ‘=https’ —tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
source /root/.bash_profile
tiup cluster
tiup update —self && tiup update cluster