Amd64的安装方法:
1、下载并安装Tiup
执行:curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
完成后出现:
2、声明全局环境变量
执行:source ${your_shell_profile}
${your_shell_profile}
需要修改为 Shell profile 文件的实际位置。
3、安装Tiup的cluster组件
执行:tiup cluster
4、执行如下命令,生成集群初始化配置文件:
执行:tiup cluster template > topology.yaml
5、修改topology.yaml配置文件
6、检查集群是否存在问题
执行:tiup cluster check ./topology.yaml --user root -p
解决存在的问题