cents上执行wget报错:unable to resolve host address

wget命令报错,无法解析域名"www.keepalived.rog"

[[email protected] download]$ wget http://www.keepalived.org/software/keepalived-1.2.12.tar.gz

--2014-05-05 11:06:14--  http://www.keepalived.org/software/keepalived-1.2.12.tar.gz

Resolving www.keepalived.org... failed: Temporary failure in name resolution.

wget: unable to resolve host address `www.keepalived.org‘

服务器环境:

[[email protected] download]$ uname -a

Linux RS1 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

[[email protected] download]$ cat /etc/redhat-release

CentOS release 5.6 (Final)

打开/etc/resolv.conf,比如内容如下:

nameserver 192.168.10.1

改成OpenDNS的一组解析服务器即可:

nameserver 208.67.222.222

nameserver 208.67.220.220

cents上执行wget报错:unable to resolve host address

时间: 2024-12-15 01:44:03

cents上执行wget报错:unable to resolve host address的相关文章

wget: unable to resolve host address解决方法

wget: unable to resolve host address解决方法原创ZONG_XP 最后发布于2018-06-17 15:21:08 阅读数 12157 收藏展开利用wget下载东西时,输入指令sudo wget http://zlib.net/zlib-1.2.11.tar.gz 提示报错“wget: unable to resolve host address ‘zlib.net’” wget:无法解析主机地址.这就能看出是DNS解析的问题. 解决办法: sudo vim /

Error prompt:“wget: unable to resolve host address”---Solution

//Situation System prompts that:"wget: unable to resolve host address". //Analysis Unable to resolve host address means the problem of DNS(Domain Name System).  //Solution To fix the problem, the configuration file "resolv.conf" should

wget: unable to resolve host address “http”

[[email protected] ~]# wget www.baidu.com --2017-09-24 10:20:23-- http://www.baidu.com/ Resolving http... failed: Temporary failure in name resolution. wget: unable to resolve host address "http" 解决方案: [[email protected] ~]# vim /etc/resolv.conf

wget: unable to resolve host address “mirrors.163.com” 的解决办法

wget:无法解析主机地址.这就能看出是DNS解析的问题. 解决办法: 登入root(VPS). 进入/etc/resolv.conf. 修改内容为下nameserver 8.8.8.8 #google域名服务器nameserver 8.8.4.4 #google域名服务器

wget: unable to resolve host address的解决方法

wget:无法解析主机地址.这就能看出是DNS解析的问题. 解决办法: 登入root(VPS).进入/etc/resolv.conf.修改内容为下nameserver 8.8.8.8 #google域名服务器nameserver 8.8.4.4 #google域名服务器

执行 maven 命令 报错Unable to add module to the current project as it is not of packaging type 'pom'[转]

今天学习在本地搭建Maven工程时,执行了mvn archetype:generate 命令,报错. Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1] Unable to add module to the current project as it is not of packaging type 'pom' 上网搜资料发现一个帖子,问题解决:

eclipse下执行wordcount报错 java.lang.ClassNotFoundException 解决办法

eclipse下执行wordcount报错 java.lang.ClassNotFoundException 17/08/29 07:52:54 INFO Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS 17/08/29 07:52:54 WARN util.NativeCodeLoader: Unable to load native-hadoop library for y

idea从git上clone项目报错

idea从git上clone项目报错: 需要git-cmd.exe执行命令 1.clone没有用户密码: Clone failed:Authentication failed for “http......“ 执行命令 git config --system --unset credential.helper 2.git SSL certificate problem: unable to get local issuer certificate: 由于没有配置信任的服务器HTTPS验证.默认,

SQL Developer 4.0 启动报错“unable to create an instance of the java virtual machine located at path”

安装了Oracle之后,第一件事情就是想想怎么去连接,进而操作.SQL Developer是官方提供的强大工具,个人看来也是第一选择. 目前官网提供的最新版是4.0.1.14.48,下载下来之后,就跃跃欲试了.将下载下来的包解压,直接运行sqldeveloper.exe这个文件,选择了本地安装的JDK路径,之后却不幸的报错了,提示"unable to create an instance of the java virtual machine located at path",具体界面