percona-toolkit installation

1. Obtain the source package
https://www.percona.com/software/database-tools/percona-toolkit

Select and download the source package "source code" according to the version and package type

2. It is more acceptable to install the dependency package
, which is to install all the perl packages, otherwise, after the compilation is passed, the execution command will also report an error.
yum install perl-*

3. Install
tar -zxvf percona-toolkit-3.0.9.tar.gz
cd percona-toolkit-3.0.9
perl Makefile.PL
echo $? -- This step is to check whether the previous compilation is successful. If it is 0, it succeeds. If it is not 0, it fails. Please check whether the dependency package is installed according to the compilation result in the previous step.
make && make install

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325478170&siteId=291194637
Recommended