安装网centos,网络配置成功,yum报错
2013-03-08 13:31
555 查看
在安装完centos后,对网络配置成功,在使用yum的时候报一下错误:
[root@localhost src]# yum search wget
Loaded plugins: fastestmirror
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
解决办法:
cat /etc/resolv.conf
nameserver 8.8.8.8
本文出自 “月夫” 博客,请务必保留此出处http://yyping2008.blog.51cto.com/6615447/1150027
[root@localhost src]# yum search wget
Loaded plugins: fastestmirror
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
解决办法:
cat /etc/resolv.conf
nameserver 8.8.8.8
本文出自 “月夫” 博客,请务必保留此出处http://yyping2008.blog.51cto.com/6615447/1150027
相关文章推荐
- CentOS 6 安装后网络基本配置
- CentOS 6.6 新安装系统的网络IP配置
- CentOS 6.x 安装后设置及配置、网络、软件源、压缩、语言包、输入法
- 在Centos 6.5下成功安装和配置了vim7.4
- VirtualBox安装Centos之网络配置
- 虚拟机安装CentOS-7 NAT网络配置
- CentOS 6.8 新安装系统的网络IP配置(转载)
- CentOS minimal安装后网络配置
- CentOS6.5安装之后的网络配置的两种方式
- virtualbox虚拟机上安装centOS的网络配置
- VMware Workstation最小化安装centos6.5命令模式网络配置
- VMWare10安装Centos6.5 32位网络配置问题
- Centos7 最小安装网络配置方法
- 转 CentOS 7 minimal 版本安装后网络配置
- CentOS5.6系统中安装并使用USB无线网卡(配置成功) 转
- 安装CentOS 6网络配置问题
- Centos 6.5 安装教程及网络信息配置
- 在VM上安装centOS后的网络配置