这几天在弄gae,提示出现各种问题,其中要装sqlite-devel,但是发现yum怎么不好用了呢~总是出现如下提示
[root@localhost google_appengine]# yum install sqlite-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: centos.ustc.edu.cn * base: centos.ustc.edu.cn * extras: centos.ustc.edu.cn * updates: centos.ustc.edu.cn http://centos.ustc.edu.cn/centos/5.9/addons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')> Trying other mirror. http://ftp.nsysu.edu.tw/CentOS/5.9/addons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')> Trying other mirror. http://ftp.twaren.net/Linux/CentOS/5.9/addons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')> Trying other mirror.
经过众多搜寻,改了又改,终于找到解决方案,
Temporary failure in name resolution 这个应该是DNS服务器解析问题,由于实验环境是虚拟机,查看
vim /etc/resolv.conf
; generated by /sbin/dhclient-script search localdomain nameserver 192.168.35.2发现域名服务器是本机,所以改下域名服务器地址
; generated by /sbin/dhclient-script search localdomain nameserver 192.168.35.2 nameserver 221.130.33.52 nameserver 169.95.1.1
保存后,yum无压力