yum -y install cmake gcc gcc-c++ libaio libaio-devel automake autoconf bzr bisonlibtool ncurses-devel libgcrypt-devel python-sphinx perl-DBI perl-DBD-MySQLperl-Time-HiRes
wget -P /application/toolshttps://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.2.12/source/tarball/percona-xtrabackup-2.2.12.tar.gz
cd /application/tools/
tar xf percona-xtrabackup-2.2.12.tar.gz
cd percona-xtrabackup-2.2.12
cmake -DCMAKE_INSTALL_PREFIX:PATH=/application/xtrabackup-2.2.12
make -j4
make install
ln -s/application/xtrabackup-2.2.12 /application/xtrabackup
ln -s/application/xtrabackup/bin/* /usr/local/bin/