📜  YumRepo 错误:所有镜像 URL 均未使用 ftp、http[s] 或文件.例如.无效的发布 repo 架构组合 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:20.246000             🧑  作者: Mango

代码示例1
echo "http://vault.centos.org/5.11/os/x86_64/" > /var/cache/yum/base/mirrorlist.txt
echo "http://vault.centos.org/5.11/extras/x86_64/" > /var/cache/yum/extras/mirrorlist.txt
echo "http://vault.centos.org/5.11/updates/x86_64/" > /var/cache/yum/updates/mirrorlist.txt


try use the centos 7