1 在 ESXI 的虛擬機上安裝了Cent OS 6 的系統,執行 yum repolist 命令後報以下錯誤:centos
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 7 - "Failed to connect to 2001:4178:5:200::10: Network is unreachable"服務器
後來發現是防火牆的緣由,執行以下命令,關閉 iptables 後恢復正常。ide
service iptables stop阿里雲
2 阿里雲ECS服務器,yum ×××tall 報錯以下:xml
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try againip
解決:get
一樣須要關閉防火牆。虛擬機