Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Steps to install percona xtrabackup in yum mode under CentOS

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Edit / etc/yum.repos.d/Percona.repo and add the following:

# vi / etc/yum.repos.d/Percona.repo

[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 = 0

Enter the / etc/pki/rpm-gpg directory, create a new file RPM-GPG-KEY-percona, and add the following:

[root@test rpm-gpg] # vi / etc/pki/rpm-gpg/RPM-GPG-KEY-percona

-BEGIN PGP PUBLIC KEY BLOCK-

Version: GnuPG v1.4.9 (GNU/Linux)

MQGiBEsm3aERBACyB1E9ixebIMRGtmD45c6c/wi2IVIa6O3G1f6cyHH4ump6ejOi

AX63hhEs4MUCGO7KnON1hpjuNN7MQZtGTJC0iX97X2Mk+IwB1KmBYN9sS/OqhA5C

Itj2RAkug4PFHR9dy21v0flj66KjBS3GpuOadpcrZ/k0g7Zi6t7kDWV0hwCgxCa2

F/ESC2MN3q3j9hfMTBhhDCsD/3+iOxtDAUlPMIH50MdK5yqagdj8V/sxaHJ5u/zw

YQunRlhB9f9QUFfhfnjRn8wjeYasMARDctCde5nbx3Pc+nRIXoB4D1Z1ZxRzR/lb

7S4i8KRr9xhommFnDv/egkx+7X1aFp1f2wN2DQ4ecGF4EAAVHwFz8H4eQgsbLsa6

7DV3BACj1cBwCf8tckWsvFtQfCP4CiBB50Ku49MU2Nfwq7durfIiePF4IIYRDZgg

KHKSfP3oUZBGJx00BujtTobERraaV7lIRIwETZao76MqGt9K1uIqw4NT/jAbi9ce

RFaOmAkaujbcB11HYIyjtkAGq9mXxaVqCC3RPWGr+fqAx/akBLQ2UGVyY29u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~

~

~

~

~

~

~

~

~

~

~

"RPM-GPG-KEY-percona" [New] 30L, 1710C written

: wq save exit.

Then you can install it with yum.

[root@test rpm-gpg] # yum-y install percona-xtrabackup

Loaded plugins: fastestmirror

Setting up Install Process

Loading mirror speeds from cached hostfile

* base: centos.ustc.edu.cn

* epel: del-mirrors.extreme-ix.org

* extras: centos.ustc.edu.cn

* updates: centos.ustc.edu.cn

Percona | 2.9 kB 00:00

Percona/primary_db | 234 kB 00:01

Resolving Dependencies

-> Running transaction check

-> Package percona-xtrabackup.x86_64 0RU 2.3.10-1.el6 will be installed

-- > Processing Dependency: rsync for package: percona-xtrabackup-2.3.10-1.el6.x86_64

-> Processing Dependency: libev.so.4 () (64bit) for package: percona-xtrabackup-2.3.10-1.el6.x86_64

-> Running transaction check

-> Package libev.x86_64 0RU 4.03-3.el6 will be installed

-> Package rsync.x86_64 0RU 3.0.6-12.el6 will be installed

-> Finished Dependency Resolution

Dependencies Resolved

=

Package Arch Version Repository Size

=

Installing:

Percona-xtrabackup x8631 64 2.3.10-1.el6 percona 5.3m

Installing for dependencies:

Libev x8631 64 4.03-3.el6 epel 113k

Rsync x8631 64 3.0.6-12.el6 base 335k

Transaction Summary

=

Install 3 Package (s)

Total download size: 5.8 M

Installed size: 6.1 M

Downloading Packages:

(1Action3): libev-4.03-3.el6.x86_64.rpm | 113kB 00:01

(2ache 3): percona-xtrabackup-2.3.10-1.el6.x86_64.rpm | 5.3MB 00:07

(3x3): rsync-3.0.6-12.el6.x86_64.rpm | 335 kB 00:00

- -

Total 531 kB/s | 5.8 MB 00:11

Warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY

Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Importing GPG key 0x0608B895:

Userid: EPEL (6)

Package: epel-release-6-8.noarch (@ extras)

From: / etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY

Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-percona

Importing GPG key 0xCD2EFD2A:

Userid: "Percona MySQL Development Team"

From: / etc/pki/rpm-gpg/RPM-GPG-KEY-percona

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing: libev-4.03-3.el6.x86_64 1 Compact 3

Installing: rsync-3.0.6-12.el6.x86_64 2 Compact 3

Installing: percona-xtrabackup-2.3.10-1.el6.x86_64 3 Compact 3

Verifying: rsync-3.0.6-12.el6.x86_64 1 Compact 3

Verifying: libev-4.03-3.el6.x86_64 2 Compact 3

Verifying: percona-xtrabackup-2.3.10-1.el6.x86_64 3 Compact 3

Installed:

Percona-xtrabackup.x86_64 0RO 2.3.10-1.el6

Dependency Installed:

Libev.x86_64 0RO 4.03-3.el6 rsync.x86_64 0RO 3.0.6-12.el6

Complete!

[root@test rpm-gpg] # yum-y install percona-toolkit

Loaded plugins: fastestmirror

Setting up Install Process

Loading mirror speeds from cached hostfile

* base: centos.ustc.edu.cn

* epel: del-mirrors.extreme-ix.org

* extras: centos.ustc.edu.cn

* updates: centos.ustc.edu.cn

Resolving Dependencies

-> Running transaction check

-> Package percona-toolkit.x86_64 0RU 3.0.9-1.el6 will be installed

-> Processing Dependency: perl (IO::Socket::SSL) for package: percona-toolkit-3.0.9-1.el6.x86_64

-> Running transaction check

-> Package perl-IO-Socket-SSL.noarch 0RU 1.31-3.el6_8.2 will be installed

-- > Processing Dependency: perl-Net-SSLeay > = 1.35-10.el6_8.1 for package: perl-IO-Socket-SSL-1.31-3.el6_8.2.noarch

-> Processing Dependency: perl (Net::LibIDN) for package: perl-IO-Socket-SSL-1.31-3.el6_8.2.noarch

-> Running transaction check

-> Package perl-Net-LibIDN.x86_64 0RU 0.12-3.el6 will be installed

-> Package perl-Net-SSLeay.x86_64 0RU 1.35-10.el6_8.1 will be installed

-> Finished Dependency Resolution

Dependencies Resolved

=

Package Arch Version Repository Size

=

Installing:

Percona-toolkit x8631 64 3.0.9-1.el6 percona 7.1m

Installing for dependencies:

Perl-IO-Socket-SSL noarch 1.31-3.el6_8.2 base 70k

Perl-Net-LibIDN x8631 64 0.12-3.el6 base 35k

Perl-Net-SSLeay x8631 64 1.35-10.el6_8.1 base 174k

Transaction Summary

=

Install 4 Package (s)

Total download size: 7.4 M

Installed size: 7.9 M

Downloading Packages:

(1ap4): percona-toolkit-3.0.9-1.el6.x86_64.rpm | 7.1 MB 00:19

(2cap 4): perl-IO-Socket-SSL-1.31-3.el6_8.2.noarch.rpm | 70 kB 00:00

(3go 4): perl-Net-LibIDN-0.12-3.el6.x86_64.rpm | 35 kB 00:00

(4ax 4): perl-Net-SSLeay-1.35-10.el6_8.1.x86_64.rpm | 174kB 00:00

- -

Total 352 kB/s | 7.4 MB 00:21

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing: perl-Net-LibIDN-0.12-3.el6.x86_64 1 Compact 4

Installing: perl-Net-SSLeay-1.35-10.el6_8.1.x86_64 2 Compact 4

Installing: perl-IO-Socket-SSL-1.31-3.el6_8.2.noarch 3 Compact 4

Installing: percona-toolkit-3.0.9-1.el6.x86_64 4 Compact 4

Verifying: percona-toolkit-3.0.9-1.el6.x86_64 1 Compact 4

Verifying: perl-Net-SSLeay-1.35-10.el6_8.1.x86_64 2 Compact 4

Verifying: perl-Net-LibIDN-0.12-3.el6.x86_64 3 Compact 4

Verifying: perl-IO-Socket-SSL-1.31-3.el6_8.2.noarch 4 Compact 4

Installed:

Percona-toolkit.x86_64 0RO 3.0.9-1.el6

Dependency Installed:

Perl-IO-Socket-SSL.noarch 0VOR 1.31-3.el6_8.2 perl-Net-LibIDN.x86_64 0RU 0.12-3.el6 perl-Net-SSLeay.x86_64 0RU 1.35-10.el6_8.1

Complete!

[root@test rpm-gpg] # innobackupex-- version

Innobackupex version 2.3.10 Linux (x86 / 64) (revision id: bd0d4403f36)

[root@test rpm-gpg] # pt-online-schema-change-- version

Pt-online-schema-change 3.0.8

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report