今天安装LTMP安装脚本,提示
timeout on http://mirrors.aliyuncs.com/centos/7/addons/x86_64/repodata/repomd.xml:[12]Timeout on http://http://mirrors.aliyuncs.com/centos/7/addons/x86_64/repodata/repomd.xml(28,'Connection timed out after 30001 milliseconds')
用浏览器打开http://mirrors.aliyuncs.com/centos/7/addons/x86_64/repodata/repomd.xml,显示404;但访问http://mirrors.aliyuncs.com/倒是正常!
再往下级访问,终于发现问题所在:http://mirrors.aliyuncs.com/centos/7/ OS/x86_64/repodata/repomd.xml
解决方法:2选1
1、修改Centos-Base.repo
[root~]#vi /etc/yum.repos.d/CentOS-Base.repobaseurl=http://mirrors.aliy