linux 报错There are no enabled repos

centOS7使用yum安装运用,提示没有有效镜像

解决办法:curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 

猜你喜欢

转载自www.cnblogs.com/sunshc/p/12527882.html