Install and compile xtrabackup 2.2.11, axtrabackup

Source: Internet
Author: User
Tags install perl percona

Install and compile xtrabackup 2.2.11, axtrabackup

---- 1. compile and install percona-compiler-y install cmake gcc-c ++ libaio-devel automake autoconf bzr \ bison libtool ncurses-devel ncurses5-devel zlib-devel libgcrypt-devel crypt * libgcrypt *\ python-sphinx openssl imake libxml2-devel expat-devel ncurses5-devel ncurses-devleNOTE: 2.2.14 python-sphsf-openssl dependency packages are required. --- 2. install the relevant plug-in yum-y install perl-DBIyum-y install perl-DBD-MySQLyum-y install perl-T Ime-HiResyum-y install perl-IO-Socket-SSLwget http://www.percona.com/downloads/percona-toolkit/2.2.14/RPM/percona-toolkit-2.2.13-1.noarch.rpmyum-y install mysql-libs # MySQL-shared-compatrpm-ivh MySQL-shared-compat-5.6.25-1.el6.x86_64.rpm yum-y install perl-TermReadKeyrpm- ivh percona-toolkit-2.2.14-1.noarch.rpm --- 3. install xtrabackupwget http://www.percona.com/downloads/XtraBackup/XtraBackup-2. 2.11/source/tarball/percona-xtrabackup-2.2.11.tar.gzcd/soft/rm-rf/usr/local/xtrabackupmkdir-p/usr/local/xtrabackuptar xvzf percona-xtrabackup-2.2.11.tar.gz mv percona-xtrabackup-2.2.11/usr/local/xtrabackupchown-R mysql: mysql/usr/local/xtrabackupcd/usr/local/xtrabackup/percona-xtrabackup-2.2.11cmake-DBUILD_CONFIG = xtrabackup_release/************* compile and install related parameters cmake. -LH -- View mysql-related parameters supported by cmake Hell> cmake. -L # overviewshell> cmake. -LH # overview with help textshell> cmake. -LAH # all params with help textshell> cmake. # interactive display ******************* make ****************** ** when you re-compile an error that may be encountered by make, the old object file and cache information must be cleared. ext. extlinks (exception: No module named extlinks) make cleanrm-f CMakeCache.txt ******************** make install/****** rm-rf/usr/is required for re-installation/ bin /Innobackupexrm-rf/usr/bin/xtrabackup ************/# vi ++ ~ /. Bash_profileexport PATH =/usr/local/xtrabackup/bin: $ PATH # source ~ /. Bash_profile ---- link command to the/usr/bin directory ln-sf/usr/local/xtrabackup/bin/*/usr/bin/

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.