RPM packages for RHEL (CENTOS)5 and RHEL(CENTOS) 6
cd /etc/pki/rpm-gpg
wget http://www.percona.com/downloads/RPM-GPG-KEY-percona
rpm -Uhv http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm 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 = 1 yum list | grep percona yum install Percona-Server-server-55 如果出错
warning: rpmts_HdrFromFdno: Header V4 DSA signature: NOKEY, key ID cd2efd2a
GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory: ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-percona’
cd /etc/pki/rpm-gpg
wget http://www.percona.com/downloads/RPM-GPG-KEY-percona
官网yum apt-get安装文档
http://www.percona.com/doc/percona-server/5.5/installation.html
btw:mysql配置在线生成器 Percona配置在线生成器