Configure the Percona Yum warehouse and install the Xtrabackup tool under centos5.6

Source: Internet
Author: User
Tags gpg centos percona

1, automatic installation of Percona Yum Warehouse (the following are x86_64 and i386 platform respectively)


#rpm-IVH http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm
#rpm-IVH http://www.percona.com/redir/downloads/percona-release/percona-release-0.0-1.i386.rpm
2. Manual Yum Warehouse

Create a file/etc/yum.repos.d/percona.repo the following contents:


[Percona]
Name = CentOS $releasever-percona
baseurl=http://repo.percona.com/centos/$releasever/os/$basearch/
Enabled = 1
Gpgkey = File:///etc/pki/rpm-gpg/RPM-GPG-KEY-percona
Gpgcheck = 1

#wget Http://www.percona.com/redir/downloads/percona-release/RPM-GPG-KEY-percona
#cp Rpm-gpg-key-percona/etc/pki/rpm-gpg/rpm-gpg-key-percona
Here we can install the Percona series of tools:

Our information on installing the Xtrabackup Backup tool here is as follows:

1
#yum-y Install Percona-xtrabackup
Setting up Install Process

Resolving dependencies

--> Running Transaction Check

---> Package percona-xtrabackup.x86_64 0:2.2.3-4982.el5 set to be updated

--> finished Dependency resolution

Dependencies resolved

=============================================================================================================== ================================================================================

 Package                                               arch                                      version                                               repository                                 Size

=============================================================================================================== ================================================================================

Updating:

Percona-xtrabackup x86_64 2.2.3-4982.el5 Percona 5.6 M

Transaction Summary

=============================================================================================================== ================================================================================

Install 0 Package (s)

Upgrade 1 Package (s)

Total Download size:5.6 M

Downloading Packages:

percona-xtrabackup-2.2.3-4982.el5.x86_64.rpm | 5.6 MB 00:13

Warning:rpmts_HdrFromFdno:Header V4 DSA Signature:nokey, key ID cd2efd2a

percona/gpgkey                                                                                                                                                                  | 1.7 kb     00:00    

Importing GPG key 0xcd2efd2a "Percona MySQL Development team <mysql-dev@percona.com>" from/etc/pki/rpm-gpg/ Rpm-gpg-key-percona

Running Rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

  updating      : percona-xtrabackup                                                                                                                                                            1/2

  cleanup       : percona-xtrabackup                                                                                                                                                              2/ 2

Updated:

Percona-xtrabackup.x86_64 0:2.2.3-4982.el5

complete!

 

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.