Centos6安装Percona-tools工具

Centos6安装Percona-tools工具

环境:centos6.x

yum -y install perl-DBI
yum -y install perl-DBD-MySQL
yum -y install perl-IO-Socket-SSL.noarch
yum -y install perl-Time-HiRes
yum -y install perl-ExtUtils-MakeMaker 下载地址:
cd /opt/
wget https://www.percona.com/downloads/percona-toolkit/3.0.8/binary/tarball/percona-toolkit-3.0.8_x86_64.tar.gz
tar -zxf  percona-toolkit-3.0.8_x86_64.tar.gz
cd percona-toolkit-3.0.8
perl Makefile.PL
make && make install
ln -s percona-toolkit-3.0.8_x86_64 percona-toolkit
ln -s /opt/percona-toolkit/bin/* /usr/bin/
pt-table-checksum --help #看看是否装成功
上一篇:项目管理实践【四】Bug跟踪管理【Bug Trace and Management】


下一篇:java数组遍历、java方法定义