Installing Percona XtraDB Cluster

Percona XtraDB Cluster supports most 64-bit Linux distributions. Percona provides packages for popular DEB-based and RPM-based distributions:

  • Debian 7 (“wheezy”)
  • Debian 8 (“jessie”)
  • Debian 9 (“stretch”)
  • Ubuntu 14.04 LTS (Trusty Tahr)
  • Ubuntu 16.04 LTS (Xenial Xerus)
  • Ubuntu 17.10 (Artful Aardvark)
  • Ubuntu 18.04 LTS (Bionic Beaver)
  • Red Hat Enterprise Linux / CentOS 6
  • Red Hat Enterprise Linux / CentOS 7

Note

CentOS 5 includes openssl-0.9.8 that doesn’t support TLS 1.1/1.2, which is a requirement as of Galera 3.19. This means PXC 5.6.34 does not support SSL encryption on CentOS 5 (while PXC 5.6.35 and later do not support CentOS 5 at all).

We recommend upgrading from CentOS 5 anyway, because it already reached EOL on March 31, 2017.

Prerequisites

Percona XtraDB Cluster requires the following ports for communication: 3306, 4444, 4567, 4568. Make sure that these ports are not blocked by firewall or used by other software.

Percona XtraDB Cluster does not work with SELinux and AppArmor security modules. Make sure these modules are disabled.

Installation Guides

It is recommended to install Percona XtraDB Cluster from official Percona repositories using the corresponding tool for your system:

Note

You can also download packages from the Percona website and install them manually using dpkg or rpm.

If you want to build and run Percona XtraDB Cluster from source, see Compiling and Installing from Source Code.

If you want to run Percona XtraDB Cluster using Docker, see Running Percona XtraDB Cluster in a Docker Container.