Tuesday, June 13, 2006

yum updates using a proxy

I did this for centos, but I'm sure its usable on anything that uses yum.

create a new file for dag repo in /etc/yum.repos.d called dag.repo

Find your local ISP mirror. I think both pacificnet and optus does mirrors. Here is what the file should look like.

name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://mirror.optusnet.com.au/dag/redhat/el$releasever/en/$basearch/dag/
gpgcheck=1
enabled=1

After creating this file, you can run the following commands to complete the update.

# export http_proxy=http://proxy:port[dag]
# yum update

No comments:

dead pi

Well, I guess it has to happen at some point. the home automation raspberry pi has died. Much to do with the stupid Strontium mini SD card. ...