首页 > 代码库 > yum 安装percona xtrabackup
yum 安装percona xtrabackup
centos5.6下配置percona的yum仓库并安装xtrabackup工具
一、先安装依赖:
yum install perl-DBI
yum install perl-DBD-MySQL
yum install perl-Time-HiRes
yum install perl-IO-Socket-SSL
二、配置yum源、
方法1、自动安装percona的yum仓库(以下分别为x86_64和i386平台)
#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、手动yum仓库
创建文件/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 = 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
三、安装 percona xtrabackup
下面我们就可以安装percona一系列工具了:
我们这里安装xtrabackup备份工具的信息如下:
#yum -y install percona-xtrabackup
本文出自 “crazy_sir” 博客,请务必保留此出处http://douya.blog.51cto.com/6173221/1591995
yum 安装percona xtrabackup