我想安装 Percona XtraDB Cluster 服务器包Ubuntu 16.04.4 LTS
但我得到了这个错误:
sudo apt-get install percona-xtradb-cluster-57
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package percona-xtradb-cluster-57
答案1
Percona 软件是第三方商业软件,不存在于 Ubuntu 基础存储库中。您首先需要配置 Percona 存储库,如文档中所述:
wget https://repo.percona.com/apt/percona-release_0.1-6.$(lsb_release -sc)_all.deb
sudo dpkg -i percona-release_0.1-6.$(lsb_release -sc)_all.deb
sudo apt-get update
sudo apt-cache search percona
如果一切顺利,此时您应该看到 Percona 软件包的列表。现在您可以安装 Percona XtraDB 集群:
sudo apt-get install percona-xtradb-cluster-57