Linux:配置

配置YUM缓存:

Percona

安装:percona-release

这样就安装好了。

该RPM可以为系统安装一个工具:percona-release

该命令更详细的帮助文档,可以参阅:
https://www.percona.com/doc/percona-repo-config/percona-release.html

该命令的语法如下:

其中Command部分可以选择的选项有以下几个:

  1. enable
  2. enable-only
  3. disable
  4. setup
  5. show

这里需要用到的是【setup】

其中PRODUCT可以选择的内容可以参见【 https://repo.percona.com/ 】中的文件列表:

完整列表如下:

可以分个类:

MySQL:

ps-56Percona Server for MySQL 5.6
ps-57Percona Server for MySQL 5.7
ps-80Percona Server for MySQL 8.0
pxc-56Percona XtraDB Cluster 5.6
pxc-57Percona XtraDB Cluster 5.7
pxc-80Percona XtraDB Cluster 8.0
pxb-24Percona XtraBackup 2.4
pxb-80Percona XtraBackup 8.0
pdps-8.0Percona Distribution for MySQL using Percona Server for MySQL 8.0
pdps-8.0.19Percona Distribution for MySQL using Percona Server for MySQL 8.0.19
pdps-8.0.20Percona Distribution for MySQL using Percona Server for MySQL 8.0.20
pdps-8.0.21Percona Distribution for MySQL using Percona Server for MySQL 8.0.21
pdps-8.0.22Percona Distribution for MySQL using Percona Server for MySQL 8.0.22
pdps-8.0.23Percona Distribution for MySQL using Percona Server for MySQL 8.0.23
pdps-8.0.25Percona Distribution for MySQL using Percona Server for MySQL 8.0.25
pdpxc-8.0Percona Distribution for MySQL using Percona XtraDB Cluster 8.0
pdpxc-8.0.19Percona Distribution for MySQL using Percona XtraDB Cluster 8.0.19
pdpxc-8.0.20Percona Distribution for MySQL using Percona XtraDB Cluster 8.0.20
pdpxc-8.0.21Percona Distribution for MySQL using Percona XtraDB Cluster 8.0.21
pdpxc-8.0.22Percona Distribution for MySQL using Percona XtraDB Cluster 8.0.22
pdpxc-8.0.23Percona Distribution for MySQL using Percona XtraDB Cluster 8.0.23

MongoDB:

psmdb-36Percona Server for MongoDB 3.6
psmdb-40Percona Server for MongoDB 4.0
psmdb-42Percona Server for MongoDB 4.2
psmdb-44Percona Server for MongoDB 4.4
pbmPercona Backup for MongoDB
pdmdb-4.2Percona Distribution for MongoDB 4.2
pdmdb-4.2.6Percona Distribution for MongoDB 4.2.6
pdmdb-4.2.7Percona Distribution for MongoDB 4.2.7
pdmdb-4.2.8Percona Distribution for MongoDB 4.2.8
pdmdb-4.2.9Percona Distribution for MongoDB 4.2.9
pdmdb-4.2.10Percona Distribution for MongoDB 4.2.10
pdmdb-4.2.11Percona Distribution for MongoDB 4.2.11
pdmdb-4.2.12Percona Distribution for MongoDB 4.2.12
pdmdb-4.2.13Percona Distribution for MongoDB 4.2.13
pdmdb-4.2.14Percona Distribution for MongoDB 4.2.14
pdmdb-4.2.15Percona Distribution for MongoDB 4.2.15
pdmdb-4.4Percona Distribution for MongoDB 4.4
pdmdb-4.4.0Percona Distribution for MongoDB 4.4.0
pdmdb-4.4.1Percona Distribution for MongoDB 4.4.1
pdmdb-4.4.2Percona Distribution for MongoDB 4.4.2
pdmdb-4.4.3Percona Distribution for MongoDB 4.4.3
pdmdb-4.4.4Percona Distribution for MongoDB 4.4.4
pdmdb-4.4.5Percona Distribution for MongoDB 4.4.5
pdmdb-4.4.6Percona Distribution for MongoDB 4.4.6

PostgreSQL:

ppg-11Percona Distribution for PostgreSQL 11
ppg-11.5Percona Distribution for PostgreSQL 11.5
ppg-11.6Percona Distribution for PostgreSQL 11.6
ppg-11.7Percona Distribution for PostgreSQL 11.7
ppg-11.8Percona Distribution for PostgreSQL 11.8
ppg-11.9Percona Distribution for PostgreSQL 11.9
ppg-11.10Percona Distribution for PostgreSQL 11.10
ppg-11.11Percona Distribution for PostgreSQL 11.11
ppg-11.12Percona Distribution for PostgreSQL 11.12
ppg-12Percona Distribution for PostgreSQL 12
ppg-12.2Percona Distribution for PostgreSQL 12.2
ppg-12.3Percona Distribution for PostgreSQL 12.3
ppg-12.4Percona Distribution for PostgreSQL 12.4
ppg-12.5Percona Distribution for PostgreSQL 12.5
ppg-12.6Percona Distribution for PostgreSQL 12.6
ppg-12.7Percona Distribution for PostgreSQL 12.7
ppg-13Percona Distribution for PostgreSQL 13
ppg-13.0Percona Distribution for PostgreSQL 13.0
ppg-13.1Percona Distribution for PostgreSQL 13.1
ppg-13.2Percona Distribution for PostgreSQL 13.2
ppg-13.3Percona Distribution for PostgreSQL 13.3

Percona Tools:

pmm-clientPercona Monitoring and Management Client
pmm2-clientPercona Monitoring and Management Client 2
ptPercona Toolkit
proxysqlProxySQL
mysql-shellMySQL Shell
sysbenchSysbench tool for benchmarking
originalPercona’s products of previous versions which haven’t yet reached their end of life and are still supported. These are: Percona Server for MySQL 5.6 and 5.7, Percona XtraDB Cluster 5.6 and 5.7, Percona Server for MongoDB 3.4 and 3.6, etc. Though moved to dedicated repositories, they are kept here for backward compatibility
toolsOther products and tools, such as Percona XtraBackup 8.0, Percona Toolkit, PMM Client, ProxySQL, etc. Though moved to dedicated repositories, they are kept here for backward compatibility
prelpercona-release packages

设置为Percona Server 57:

然后,查看一下:

执行安装:

装完后,查看一下:

这样,就装好了。

启动服务:


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装