没有可用的 phpmyadmin 软件包。错误无事可做

没有可用的 phpmyadmin 软件包。错误无事可做

我使用的系统是 Centos 7 现在在我的 VPS 中我已经配置了正确的 LAMP 和 directadmin。

Php、apache Web 服务器等工作正常。我的 phpmyadmin 有问题。我看到 phpmyadmin 在 repo centos 的构建中不可用,需要安装 EPEL。

所以我这样做:

[root@~]# yum install epel-release -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.fi.muni.cz
 * epel: mirror.vpsnet.com
 * extras: ftp.fi.muni.cz
 * updates: ftp.fi.muni.cz
Package epel-release-7-14.noarch already installed and latest version
Nothing to do

现在我再次尝试安装 phpmyadmin:

[root@ ~]# sudo yum -y install phpmyadmin
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.fi.muni.cz
 * epel: mirror.vpsnet.com
 * extras: ftp.fi.muni.cz
 * updates: ftp.fi.muni.cz
No package phpmyadmin available.

还是同样的问题。有什么解决办法吗?

我尝试这个:

[root@ ~]# cd /usr/local/directadmin/custombuild
[root@ custombuild]# ./build phpmyadmin
Downloading             webapps.logrotate...
######################################################################## 100.0%
Downloading             phpMyAdmin-5.1.3-all-languages.tar.gz...
######################################################################## 100.0%
Adding AuthLog to /var/www/html/phpMyAdmin-5.1.3-all-languages/config.inc.php
Adding PmaNoRelation_DisableWarning to /var/www/html/phpMyAdmin-5.1.3-all-languages/config.inc.php
phpMyAdmin 5.1.3-all-languages installation is done.
[root@custombuild]#

现在已安装,但是当我访问 my_ip/phpmyadmin 时仍然找不到。有什么解决办法吗?

相关内容