下载 : https://github.com/github/gh-ost/releases/tag/v1.0.28
先安装Go语言:
sudo yum install golang
将gh-ost文件copu到/usr/loca
/usr/loca
ln -s /usr/local/gh-ost /usr/bin/gh-ost # 验证gh-ost安装成功 gh-ost -version