一、使用yum安装报错
yum install wget -y
提示:YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Error: Cannot find a valid baseurl for repo: base 等信息
原因:CentOS 6.x官方yum源已下线,需搭建本地或更换第三方yum源
二、解决办法
2.1 更换阿里云yum源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-6.10.repo
2.2 再执行yum install wget -y 可正常加载yum源安装