无法在 centos 7 上安装 percona
yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm
输出:
Loaded plugins: fastestmirror, langpacks
percona-release-0.1-3.noarch.rpm | 149 kB 00:00:00
Cannot open: http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm. Skipping.
Error: Nothing to do
我正在使用本教程:
https://elearning.wsldp.com/pcmagazine/install-percona-server-centos-7/
当我这样做时,Percona 尚未安装:
systemctl status mysql
输出:
Unit mysql.service could not be found.
我该如何修复这个错误?
更新:
固定的:
yum install https://repo.percona.com/testing/centos/7/RPMS/x86_64/Percona-Server-55-debuginfo-5.5.59-rel38.11.el7.x86_64.rpm
答案1
本教程中的链接已过期。来自官方安装说明:
以 root 用户身份或使用 sudo 运行以下命令来安装 Percona yum 存储库:
$ sudo yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm
启用 Percona Server 5.7 存储库:
$ sudo percona-release setup ps57
然后继续安装服务器。
您安装的软件包Server-55-debuginfo-5.5.59
是 a) 过时版本和 b) 调试版本,它将比常规版本使用更多的资源。