全球主机交流论坛

标题: 是不是沒有 wget [打印本页]

作者: bluesky    时间: 2009-7-17 13:06
标题: 是不是沒有 wget
重裝系統出現
Resolving download.lxlabs.com... failed: Temporary failure in name resolution.

再輸入一次
-bash: Resolving: command not found


作者: cpuer    时间: 2009-7-17 13:51
原帖由 bluesky 于 2009-7-17 13:06 发表
重裝系統出現
Resolving download.lxlabs.com... failed: Temporary failure in name resolution.

再輸入一次
-bash: Resolving: command not found



貌似是VPS的本地dns解析不出download.lxlabs.com这个域名,你去添加个dns的IP地址到VPS里面去即可。
作者: bluesky    时间: 2009-7-17 13:54
原帖由 cpuer 于 2009-7-17 13:51 发表
貌似是VPS的本地dns解析不出download.lxlabs.com这个域名,你去添加个dns的IP地址到VPS里面去即可。

怎麼加進去?
連yum都有問題耶~

yum check-update
Loading "installonlyn" plugin
Setting up repositories
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: base
作者: cpuer    时间: 2009-7-17 13:56
原帖由 bluesky 于 2009-7-17 13:54 发表

怎麼加進去?
連yum都有問題耶~

yum check-update
Loading "installonlyn" plugin
Setting up repositories
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was ...


yum也是一样的道理,解析不出 mirrorlist.centos.org 的IP地址。
作者: cpuer    时间: 2009-7-17 14:01
解决方法:

找到/etc/resolv.conf
vi之,
vi /etc/resolv.conf

然后添加上name server,
按i 加入
nameserver 4.2.2.4
nameserver 4.2.2.2

添加后 ctrl+c 退出编辑模式,大写模式连按两下Z 保存退出。
作者: bluesky    时间: 2009-7-17 14:05
原帖由 cpuer 于 2009-7-17 13:56 发表
yum也是一样的道理,解析不出 mirrorlist.centos.org 的IP地址。

找到了解析域名的方法

/etc/resolv.conf
沒設定DNS
nameserver 168.95.1.1
補上去就可以了

----------------------------------

剛剛fsckvps回信了,效率蠻快滴~
Hello,

The issue has been fixed now. I have restarted named service on the server. We have disabled HyperVM due to recent exploits. We are still making our own control panel which will be replacement for hypervM.

Please check from your end and let us know if you need any further assistance.
作者: cpuer    时间: 2009-7-17 14:20
原帖由 bluesky 于 2009-7-17 14:05 发表

找到了解析域名的方法

/etc/resolv.conf
沒設定DNS
nameserver 168.95.1.1
補上去就可以了

----------------------------------

剛剛fsckvps回信了,效率蠻快滴~
Hello,

The issue has been fixed now. I have re ...


楼上已经给你解决方案了,我给的是Level3的dns,4打头的绝世IP
作者: bluesky    时间: 2009-7-17 14:25
原帖由 cpuer 于 2009-7-17 14:20 发表
楼上已经给你解决方案了,我给的是Level3的dns,4打头的绝世IP

鬼打牆...竟然沒看到4樓方案
好個絕世ip...牛
作者: cpuer    时间: 2009-7-17 14:29
原帖由 bluesky 于 2009-7-17 14:25 发表

鬼打牆...竟然沒看到4樓方案
好個絕世ip...牛

3打头和4打头的IP都是Level3美国电信运营商的,牛气




欢迎光临 全球主机交流论坛 (https://mjj.022333.xyz/) Powered by Discuz! X3.4