打开centos的yum文件夹输入命令cd etcyum.repos.d用wget下载repo文件输入命令wget http:mirrors.aliyun.comrepoCentos-7.repo如果wget命令不生效