【发布时间】:2020-03-21 15:59:37
【问题描述】:
我会尝试在 centos 中安装特定版本的 php https://www.linuxtechi.com/install-php-7-centos-7-rhel-7-server/
yum install epel-release yum-utils -y
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum-config-manager --enable remi-php70
yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql -y
现在当我尝试安装不同的软件包时,例如。 yum install svn,收到此错误
failure: repodata/repomd.xml from remi-release: [Errno 256] No more mirrors to try.
http://rpms.remirepo.net/enterprise/remi-release-7.rpm/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
是他们为centos安装特定软件包和版本的一种非常方便的方法谢谢
【问题讨论】:
-
看起来您的 repo 配置文件已损坏(错误的 baseurl)。如需正确安装,请参阅向导:rpms.remirepo.net/wizard