Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Using Centos 5.4 here and I have two machines on the same network but only one has access to the outside world. I want to install software using yum on one machine, and rather than download the packages and copy them over manually, I'd like to set it up so it can use the other machine as a gateway.

Any tips on tips on how to do this?

share|improve this question
add comment

2 Answers 2

up vote 6 down vote accepted

install squid on the one that has access to the internet, and on the one that is NAT'd, configure yum.conf to use the other host as a proxy.

share|improve this answer
    
That seems to work cheers –  justinhj Apr 15 '10 at 21:02
add comment

mrepo can do what you need: http://dag.wieers.com/home-made/mrepo/

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.