Find the answer to your Linux question:
Results 1 to 2 of 2
I'm using f12. My university has recently become a mirror for fedora packages. But i'm facing a trivial problem. I have set proxy for yum so that the packages that ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Location
    India
    Posts
    37

    Problem using local mirror for yum

    I'm using f12. My university has recently become a mirror for fedora packages. But i'm facing a trivial problem.

    I have set proxy for yum so that the packages that are not available on local mirror can be downloaded from other mirrors. But then i don't know how to set no proxy for my local server. Consequently it is not using my local mirror at all. Tell me how to set no proxy for the local mirror. I want my local mirror because it's damn fast....

    My proxy settings are like this (they go in /etc/yum.conf):
    Code:
    # The proxy server - proxy server:port number
    proxy=http://proxyserver.com:8080/
    # The account details for yum connections
    proxy_username=user
    proxy_password=passwd

  2. #2
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    Just a thought. Yum can use alternative config files via the command line. Try this. Copy yum.conf to yum.conf.nop. Open yum.conf.nop for editing and remove the three lines that you added for the proxy. Save and exit. Tell yum to use the alternative config file by typing yum -c /etc/yum.conf.nop install <somepackage>. Will this work?
    Glenn
    Powered by Fedora 16 and Arch Linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...