Download with wget

Source: Internet
Author: User
Use wget to download-Linux Enterprise Application-Linux server application information. The following is a detailed description. A new linux server is installed in the data center and Redhat4 is installed. You want to use wget to download an httpd

The following problem occurs: "Resolving www.xxxx-xxxx.com... failed: Temporary failure in name resolution ."

Literally, it means that an error occurred while parsing the URL;

First, I accessed the URL from another windows IE and found that it was reachable.

I guess there may be a problem with the network configuration of the machine. I checked the eth0 configuration and found it correct.

An external IP address is pinged, which is normal, but an external url is pinged and the host is unknow. It can be determined that the DNS settings are incorrect.

So vi/etc/resolv. conf

Added two lines (the DNS address is obtained after consulting O & M)

Nameserver 211.147.6.3
Nameserver 211.99.25.1
Service network restart

After that, you can download it. I rely on it for fast speed, and the downlink speed in the idc data center reaches 1.01 Mb/s.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.