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 18.04 LTS (Bionic Beaver)
- Ubuntu 18.10 (Cosmic Cuttlefish)
- Red Hat Enterprise Linux / CentOS 6
- Red Hat Enterprise Linux / CentOS 7
CentOS 5 includes
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.
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
AppArmor security modules.
Make sure these modules are disabled.
It is recommended to install Percona XtraDB Cluster from official Percona repositories using the corresponding tool for your system:
- Install using apt if you are running Debian or Ubuntu
- Install using yum if you are running Red Hat Enterprise Linux or CentOS
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.