CentOS 7下Percona XtraDB Cluster安装

1、下载

去percona官网下载Percorna XtraDB Cluster:

https://www.percona.com/downloads/Percona-XtraDB-Cluster-LATEST/

同时也要下载Percona Xtrabuckup:

https://www.percona.com/downloads/XtraBackup/LATEST/

我下的是Percorna XtraDB Cluster-57-5.7.24-31.33,对应的Percona Xtrabuckup是-24-2.4.12,因为这前者依赖后者这个版本

2、安装依赖

另外还要下载一个qpress(已经验证过正面这个站点下载的qpress才能成功安装,不然下载其他版本会找不到依赖包):

http://rpm.pbone.net/index.php3/stat/4/idpl/30392873/dir/redhat_el_6/com/qpress-1.1-8.4.i686.rpm.html

安装前先安装依赖包:

# rpm -ivh qpress-1.1-8.4.i686.rpm
# yum install libev perl-Digest-MD5 socat boost

注意:

等安装完Percona-XtraDB-Cluster-shared-compat-57-5.7.24-31.33.1.el7.x86_64.rpm再安装一个依赖包:

# yum install perl-DBD-MySQL

3、安装

按有顺序安装如下:

# rpm -ivh Percona-XtraDB-Cluster-shared-57-5.7.24-31.33.1.el7.x86_64.rpm
# rpm -ivh Percona-XtraDB-Cluster-shared-compat-57-5.7.24-31.33.1.el7.x86_64.rpm
# rpm -ivh Percona-XtraDB-Cluster-client-57-5.7.24-31.33.1.el7.x86_64.rpm
# rpm -ivh percona-xtrabackup-24-2.4.12-1.el7.x86_64.rpm
# rpm -ivh Percona-XtraDB-Cluster-server-57-5.7.24-31.33.1.el7.x86_64.rpm
# rpm -ivh Percona-XtraDB-Cluster-57-5.7.24-31.33.1.el7.x86_64.rpm

 

你可能感兴趣的:(MySQL)