MySQL数据库优化————Percona Toolkit安装

李星波
2023-12-01
  1. 备份源文件
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
  1. 下载更改源
    CentOS7
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
  1. 清空yum缓存并生存cache文件
yum clean all
yum makecache
  1. 尝试更新系统
yum -y update
  1. 安装percona-release仓库
sudo yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm
  1. 安装Percona Toolkit
sudo install percona-toolkit
 类似资料: