Install in CentOS Redis use wget to download a file when the following problems:
failed: Temporary failure in name resolution
Literally, mean, when parsing the URL has failed; suspect it could be a problem with the network configuration of the machine, checks for eth0 configuration, and correct ping an external IP address, normal, but ping an external URL and found that the host is unknow, you can conclude that is a problem with the DNS settings.
Then edit/etc/resolv.conf
Added two DNS configuration, the specific value to view cities network being used by DNS.
nameserver XXX.XXX.XXX.XXX
nameserver XXX.XXX.XXX.XXX
Performing service network restart to restart the network service, and then wget
Leave a Reply