Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i am a big confused about how to install tomcat 6 on centos 5.5 final.

this is what i am trying to do:

# cd /etc/yum.repos.d/
# wget
# yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps

but when i type the widget command, this is what i get:

Resolving failed: Temporary failure in name resolution.
wget: unable to resolve host address `'

could anyone kindly show me the right way please. really in trouble at the moment with this.

thanks in advance.

share|improve this question

migrated from Feb 14 '11 at 14:18

This question came from our site for professional and enthusiast programmers.

Your machine isn't connected or has no proper means to resolve names: try ping to see, whether you can reach the internets at all. – miku Feb 14 '11 at 13:43
you are correct! my machine was not connected. thanks man – Anonymous Feb 14 '11 at 14:17

It seems that you have the troubles with your dns servers or local name resolver. You can use dig to determine ip-adderss of and then add it to your local /etc/hosts file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.