wget github的文件的时候提示使用了不安全的SSL证书,加入参数--no-check-certificate解决这个问题
WARNING: certificate common name “www.github.com” doesn’t match requested host name “raw.githubusercontent.com”.比如说
wget --no-check-certificate https://raw.githubusercontent.com/1265578519/mirrors/master/CentOS/CentOS6-Base-itzmx.repo -O /etc/yum.repos.d/CentOS6-Base-itzmx.repo
或者直接升级系统到最新版也可以解决
yum -y update
页:
[1]