LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   A error when installing apache (https://www.linuxquestions.org/questions/linux-newbie-8/a-error-when-installing-apache-4175441003/)

C3phalex1n_0x 12-11-2012 12:44 PM

A error when installing apache
 
hi...

Guys, When i want installing apache on the centos 6.3
The following error is displayed in the output!
What should i do to fix it?!
http://www.4myup.com/images/64519877903424163658.jpg

blueh2o 12-11-2012 01:10 PM

Looks like your machine is not able to download from the internet. Check your network connectivity.

sycamorex 12-11-2012 01:21 PM

Quote:

Originally Posted by C3phalex1n_0x (Post 4847146)
hi...

Guys, When i want installing apache on the centos 6.3
The following error is displayed in the output!
What should i do to fix it?!
http://www.4myup.com/images/64519877903424163658.jpg

Which option in VirtualBox settings did you choose for Network Adapter? Is it attached? Can you browse websites with CentOS?

C3phalex1n_0x 12-11-2012 02:09 PM

i attached to nat for adapter1 in virtual box.
but dont work:(

sycamorex 12-11-2012 02:15 PM

Try the Bridged Adapter and see if that helps. I assume your answer to my question about browsing is 'no' too.

C3phalex1n_0x 12-11-2012 02:29 PM

Oops..
i'm attached bridge adapter.. but The following error is displayed in the output, Now!
http://www.4myup.com/images/33566189396868704793.jpg

chrism01 12-12-2012 12:51 AM

What does
Code:

cat /etc/resolv.conf

ifconfig

show?

C3phalex1n_0x 12-12-2012 11:39 AM

Hi chrism01.
Output these command.. http://www.4myup.com/viewer.php?file...4074213863.jpg
i dont know, why centos not worked:(

chrism01 12-12-2012 05:43 PM

It looks like that's running in a VM?
Can it reach the internet at all eg ping www.google.com ?
If that fails, its likely its not bridged correctly.

Check both my previous cmds on the host and on both also do
Code:

route -n


All times are GMT -5. The time now is 02:28 PM.