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:

Splitting the home network

Who wouldn't want to separate the traffic at home for security reasons. The more common ones include wireless guest and wireless users. ...