记-linux使用yum(error:There are no enabled repos)

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

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

posted @ 2019-06-20 11:36  leon-chan  阅读(5927)  评论(0编辑  收藏  举报